pycatia.manufacturing_interfaces.manufacturing_insert¶
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.manufacturing_interfaces.manufacturing_insert.ManufacturingInsert(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectManufacturingInsertThe interface to access a CATIAManufacturingInsert.- get_attribute(i_attribute: str) Parameter ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetAttribute(CATBSTR iAttribut) As ParameterRetrieve by is name the attribute of an insert object. Each attribute is aCKE object. Example: The following example retreives in MachiningQuality theattribute MfgMachiningQuality of the insert CurrentInsertSet MachiningQuality = CurrentInsert.GetAttribute(MfgMachiningQuality).
- Parameters:
i_attribute (str) –
- Return type:
- get_attribute_nls_name(i_attribut_name: str) str ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetAttributeNLSName(CATBSTR iAttributName) As CATBSTRGives the NLS value of an insert objectExample: The following example gives in NLSresult the NLS value of the “MFG_COMMENT”attributes of the insert CurrentInsertNLSresult = CurrentInsert.GetAttributeNLSName(“MFG_COMMENT”).
- Parameters:
i_attribut_name (str) –
- Return type:
str
- get_list_of_attribute_units(o_list_of_attribute_units: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetListOfAttributeUnits(CATSafeArrayVariantoListOfAttributeUnits)Retrieve the list of attribute units of an insert object. The number ofitems in the output array is equal to the number of attributes of the insert.When an attribute has no unit definition, the corresponding unit item in theoutput array is a blank string. Example: The following example retrieves inTabAttributeUnits the list of attribute units of the insert objectCurrentInsert call CurrentInsert.GetListOfAttributeUnits(TabAttributeUnits).
- Parameters:
o_list_of_attribute_units (tuple) –
- Return type:
None
- get_list_of_attributes(o_list_of_attributes: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetListOfAttributes(CATSafeArrayVariantoListOfAttributes)Retrieve the list of attributes of an insert object. Each attribute isreturned as the name of a CKE object. Example: The following example retrievesin TabAttributes the list of attributes of the insert object CurrentInsert callCurrentInsert.GetListOfAttributes(TabAttributes).
- Parameters:
o_list_of_attributes (tuple) –
- Return type:
None
- property insert_type: str¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property InsertType() As CATBSTR (Read Only)Return the technological type of a the insert. Example: The followingexample return the insert type theType of to the insert CurrentInserttheType=CurrentInsert.InsertType.
- Return type:
str
- property number_of_attributes: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property NumberOfAttributes() As short (Read Only)Give the Number of attributes of an insert object.Example: The following example returns the Number of attributes of theinsert object CurrentInsert.Number = CurrentInsert.NumberOfAttributes.
- Return type:
int