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.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectPspResourceRepresents 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 CATBSTRReturns the path value defined for a resource.Parameters:iResourceNameResource NameReturns:Resource PathExample:Dim objThisIntf As PspResourceDim strResourcePath As StringDim 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 CATBSTRReturns the value defined for a resource.Parameters:iResourceNameResource NameReturns:Resource ValueExample:Dim objThisIntf As PspResourceDim strResourceVal As String…strResourceVal = objThisIntf.GetResourceValue (iResourceName)
- Parameters:
i_resource_name (str) –
- Return type:
str