pycatia.cat_ipd_adapter_interfaces.ipd_template_property¶
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_ipd_adapter_interfaces.ipd_template_property.IpdTemplateProperty(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectIPDTemplatePropertyInterface to access template object (being pointed by the given V5 object)properties.Role: This interface given a V5 object, will get the handle to the templateobject using the pointer attribute referring in it and allows to access theproperties of the template object.This interface expect caller to use attribute name define in PPPR server forexample caller should use “note” to access Description .- get_template_boolean_attribute(i_attr_name: str) bool ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetTemplateBooleanAttribute(CATBSTR iAttrName) AsbooleanThis gets a String Attribute value of an input ObjectParameters:iAttrNameThe name of the Attribute whose value we needoAttrValueThe value of the attributeReturns:S_OK
- Parameters:
i_attr_name (str) –
- Return type:
bool
- get_template_double_attribute(i_attr_name: str) float ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetTemplateDoubleAttribute(CATBSTR iAttrName) AsdoubleThis gets a String Attribute value of an input ObjectParameters:iAttrNameThe name of the Attribute whose value we needoAttrValueThe value of the attributeReturns:S_OK
- Parameters:
i_attr_name (str) –
- Return type:
float
- get_template_long_attribute(i_attr_name: str) int ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetTemplateLongAttribute(CATBSTR iAttrName) As longThis gets a String Attribute value of an input ObjectParameters:iAttrNameThe name of the Attribute whose value we needoAttrValueThe value of the attributeReturns:S_OK
- Parameters:
i_attr_name (str) –
- Return type:
int
- get_template_string_attribute(i_attr_name: str) str ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetTemplateStringAttribute(CATBSTR iAttrName) AsCATBSTRThis gets a String Attribute value of an input ObjectParameters:iAttrNameThe name of the Attribute whose value we needoAttrValueThe value of the attributeReturns:S_OK
- Parameters:
i_attr_name (str) –
- Return type:
str