pycatia.cat_plant_ship_interfaces.psp_resource

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-09-25 14:34:21.593357

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.cat_plant_ship_interfaces.psp_resource.PSPResource(com_object)

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
PspResource

Represents the PspResource.
Role: It is used to get application resources.
get_resource_path(i_resource_name: str) str

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Func GetResourcePath(CATBSTR iResourceName) As CATBSTR

Returns the path value defined for a resource.

Parameters:

iResourceName
Resource Name

Returns:
Resource Path

Example:

Dim objThisIntf As PspResource
Dim strResourcePath As String
Dim iResourceName As String
strResourcePath = objThisIntf.GetResourcePath (iResourceName)
Parameters:

i_resource_name (str) –

Return type:

str

get_resource_value(i_resource_name: str) str

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Func GetResourceValue(CATBSTR iResourceName) As CATBSTR

Returns the value defined for a resource.

Parameters:

iResourceName
Resource Name

Returns:
Resource Value

Example:

Dim objThisIntf As PspResource
Dim strResourceVal As String
strResourceVal = objThisIntf.GetResourceValue (iResourceName)
Parameters:

i_resource_name (str) –

Return type:

str