pycatia.cat_ipd_adapter_interfaces.e5_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.e5_property.E5Property(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectE5PropertyInterface to access object properties.Role: This interface allow user to access and edit properties for those V5objects who were loaded from E5. NoteWhile getting or setting the value for any attribute the implementationattempts to access attribute value from V5 object first & then fromManufacturing Hub. If attribute happens to be one of the mapped attribute or ifattribute with same name (user attribute, CATIA attribute …) exists on V5object, then value will be returned from V5 object. If V5 object doesn’t havethat attribute, then value will be directly returned from Manufacturing Hubdatabase. When we try to get attribute from V5 object, if required object willbe loaded in memory and this may result in populating of cache (CGR, Selectiveloading…)This interface expect caller to use attribute name define in PPPR server forexample caller should use “note” to access Description .Set calls will succeed only if user has editing privileges for thatobject.- get_boolean_attribute(i_attr_name: str) bool ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetBooleanAttribute(CATBSTR iAttrName) As booleanThis gets an CATBoolean Attribute value of an input ObjectParameters:iAttrNameThe name of the Attribute whose value we needoAttrValueCATBoolean value of the Attribute
- Parameters:
i_attr_name (str) –
- Return type:
bool
- get_double_attribute(i_attr_name: str) float ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetDoubleAttribute(CATBSTR iAttrName) As doubleThis gets a Double Attribute value of an input ObjectParameters:iAttrNameThe name of the Attribute whose value we needoAttrValueDouble value of the Attribute
- Parameters:
i_attr_name (str) –
- Return type:
float
- get_long_attribute(i_attr_name: str) int ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetLongAttribute(CATBSTR iAttrName) As longThis gets a Long Attribute value of an input ObjectParameters:iAttrNameThe name of the Attribute whose value we needoAttrValueLong value of the Attribute
- Parameters:
i_attr_name (str) –
- Return type:
int
- get_string_attribute(i_attr_name: str) str ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetStringAttribute(CATBSTR iAttrName) As CATBSTRThis gets a String Attribute value of an input ObjectParameters:iAttrNameThe name of the Attribute whose value we needReturns:CATUnicodeString value of the Attribute
- Parameters:
i_attr_name (str) –
- Return type:
str
- set_boolean_attribute(i_attr_name: str, i_attr_value: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetBooleanAttribute(CATBSTR iAttrName,boolean iAttrValue)This sets an CATBoolean Attribute value to an input ObjectParameters:iAttrNameThe Attribute Name whose value we need to setiAttrValueCATBoolean value of the AttributeReturns:Value of iAttrName
- Parameters:
i_attr_name (str) –
i_attr_value (bool) –
- Return type:
None
- set_double_attribute(i_attr_name: str, i_attr_value: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetDoubleAttribute(CATBSTR iAttrName,double iAttrValue)This sets a Double Attribute value to an input ObjectParameters:iAttrNameThe Attribute Name whose value we need to setiAttrValueDouble value of the AttributeReturns:Value of iAttrName
- Parameters:
i_attr_name (str) –
i_attr_value (float) –
- Return type:
None
- set_long_attribute(i_attr_name: str, i_attr_value: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetLongAttribute(CATBSTR iAttrName,long iAttrValue)This sets a Long Attribute value to an input ObjectParameters:iAttrNameThe Attribute Name whose value we need to setReturns:Value of iAttrName
- Parameters:
i_attr_name (str) –
i_attr_value (int) –
- Return type:
None
- set_string_attribute(i_attr_name: str, i_attr_value: str) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetStringAttribute(CATBSTR iAttrName,CATBSTR iAttrValue)This sets a String Attribute value to an input ObjectParameters:iAttrNameThe Attribute Name whose value we need to setiAttrValueCATUnicodeString value of the Attribute
- Parameters:
i_attr_name (str) –
i_attr_value (str) –
- Return type:
None