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.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
ManufacturingInsert

The 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 Parameter

Retrieve by is name the attribute of an insert object. Each attribute is a
CKE object. Example: The following example retreives in MachiningQuality the
attribute MfgMachiningQuality of the insert CurrentInsert

Set MachiningQuality = CurrentInsert.GetAttribute(MfgMachiningQuality).
Parameters:

i_attribute (str) –

Return type:

Parameter

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 CATBSTR

Gives the NLS value of an insert object

Example: The following example gives in NLSresult the NLS value of the “MFG_COMMENT”
attributes of the insert CurrentInsert

NLSresult = 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(CATSafeArrayVariant
oListOfAttributeUnits)

Retrieve the list of attribute units of an insert object. The number of
items 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 the
output array is a blank string. Example: The following example retrieves in
TabAttributeUnits the list of attribute units of the insert object
CurrentInsert 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(CATSafeArrayVariant
oListOfAttributes)

Retrieve the list of attributes of an insert object. Each attribute is
returned as the name of a CKE object. Example: The following example retrieves
in TabAttributes the list of attributes of the insert object CurrentInsert call
CurrentInsert.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 following
example return the insert type theType of to the insert CurrentInsert
theType=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 the
insert object CurrentInsert.

Number = CurrentInsert.NumberOfAttributes.
Return type:

int