pycatia.manufacturing_interfaces.manufacturing_machine¶
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_machine.ManufacturingMachine(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectManufacturingMachineMachine in machining domain.- property comment: str¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Comment() As CATBSTR (Read Only)Return the Comment of a Machine.Example:The following example return the comment MachineComment of to themanufacturing Machine CurrentMachineMachineComment = CurrentMachine.Comment
- Return type:
str
- default_name() str ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func DefaultName() As CATBSTRReturn the string the Type of a Machine.Example:The following example return the type MachineType of to themanufacturing Machine CurrentMachineMachineType = CurrentMachine.Type
- Return type:
str
- 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 the Attribute of a Manufacturing Machine.Example:The following example retreives in HomePosX the attributeMFG_HOME_POS_X of Manufacturing Machine MyMachineSet HomePosX = MyMachine.GetAttribute(MFG_HOME_POS_X)
- Parameters:
i_attribute (str) –
- Return type:
- get_attribute_nls_name(i_attribute_name: str) str ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetAttributeNLSName(CATBSTR iAttributName) As CATBSTRRetrieve the NLS name from the attribute name of a ManufacturingMachine.
- Parameters:
i_attribute_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 aManufacturingMachine.The number of items in the output array is equal to the number ofattributes of the machine.When an attribute has no unit definition, the corresponding unit item inthe output array is a blank string.Example:The following example retrieves in TabAttributeUnits the list ofattribute units of the ManufacturingMachineCurrentMachinecall CurrentMachine.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 all attributes of aManufacturingMachine.Each attribute is returned as the name of a CKE object.Example:The following example retrieves in TabAttributes the list of attributesof the ManufacturingMachine CurrentMachinecallCurrentMachine.GetListOfAttributes(TabAttributes)
- Parameters:
o_list_of_attributes (tuple) –
- Return type:
None
- get_list_of_numerical_control_attributes(o_list_of_attributes: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetListOfNumericalControlAttributes(CATSafeArrayVariantoListOfAttributes)Retrieve the list of Numerical Control attributes of a ManufacturingMachine.Each attribute is returned as the name of a CKE object.Example:The following example retrieves in oListOfAttributes the list ofNumerical Control attributes of the Manufacturing MachinemyMachinecall myMachine.GetListOfNumericalControlAttributes(oListOfAttributes)
- Parameters:
o_list_of_attributes (tuple) –
- Return type:
None
- get_list_of_rotary_table_attributes(o_list_of_attributes: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetListOfRotaryTableAttributes(CATSafeArrayVariantoListOfAttributes)Retrieve the list of Rotary table attributes of a ManufacturingMachine.Each attribute is returned as the name of a CKE object.Example:The following example retrieves in oListOfAttributes the list of ToolChange attributes of the Manufacturing MachinemyMachinecall myMachine.GetListOfRotaryTableAttributes(oListOfAttributes)
- Parameters:
o_list_of_attributes (tuple) –
- Return type:
None
- get_list_of_spindle_attributes(o_list_of_attributes: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetListOfSpindleAttributes(CATSafeArrayVariantoListOfAttributes)Retrieve the list of Spindle attributes of a ManufacturingMachine.Each attribute is returned as the name of a CKE object.Example:The following example retrieves in oListOfAttributes the list ofSpindle attributes of the Manufacturing MachinemyMachinecall myMachine.GetListOfSpindleAttributes(oListOfAttributes)
- Parameters:
o_list_of_attributes (tuple) –
- Return type:
None
- get_list_of_tool_change_attributes(o_list_of_attributes: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetListOfToolChangeAttributes(CATSafeArrayVariantoListOfAttributes)Retrieve the list of Tool Change attributes of a ManufacturingMachine.Each attribute is returned as the name of a CKE object.Example:The following example retrieves in oListOfAttributes the list of ToolChange attributes of the Manufacturing MachinemyMachinecall myMachine.GetListOfToolChangeAttributes(oListOfAttributes)
- Parameters:
o_list_of_attributes (tuple) –
- Return type:
None
- property machine_type: str¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property MachineType() As CATBSTR (Read Only)Return the Type of a Machine.Example:The following example return the type MachineType of to themanufacturing Machine CurrentMachineMachineType = CurrentMachine.Type
- 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)Gives the number of attributes of a ManufacturingMachine.Example:The following example returns the Number of attributes of theManufacturingMachine CurrentMachineNumber = CurrentMachine.NumberOfAttributes
- Return type:
int
- property number_of_numerical_control_attributes: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property NumberOfNumericalControlAttributes() As short (ReadOnly)This property returns the number of Numerical Control attributes of aManufacturing Machine.
- Return type:
int
- property number_of_rotary_table_attributes: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property NumberOfRotaryTableAttributes() As short (ReadOnly)This property returns the number of rotary table attributes of aManufacturing Machine. The machine is upposed to accept Rotary table (type isMfg3AxisWithTableRotationMachine).
- Return type:
int
- property number_of_spindle_attributes: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property NumberOfSpindleAttributes() As short (Read Only)This property returns the number of Spindle attributes of a ManufacturingMachine.
- Return type:
int
- property number_of_tool_change_attributes: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property NumberOfToolChangeAttributes() As short (ReadOnly)This property returns the number of Tool change attributes of aManufacturing Machine.
- Return type:
int
- property post_processor_file: str¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property PostProcessorFile() As CATBSTRThis property returns the post processor file of a Manufacturing MachineMachine.PostProcessorFile
- Return type:
str
- property pp_table_name: str¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property PPTableName() As CATBSTRGive the PPTableName linked to a Manufacturing Machine.Example:The following example returns the PPTableName ThisPPTable linked to theManufacturing Machine CurrentMachineSet ThisPPTable = CurrentMachine.PPTableName
- Return type:
str
- property preferred_tool_catalog_name: str¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property PreferedToolCatalogName() As CATBSTRGive the PreferedToolCatalogName linked to a ManufacturingMachine.Example:The following example returns the PreferedToolCatalogName ThisCataloglinked to the Manufacturing Machine CurrentMachineSet ThisCatalog = CurrentMachine.PreferedToolCatalogName
- Return type:
str
- property rotary_axis: str¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property RotaryAxis() As CATBSTRGive the MfgRotaryAxis linked to a Manufacturing Machine.Example:The following example returns the MfgRotaryAxis ThisAxis linked to theManufacturing Machine CurrentMachineSet ThisAxis = CurrentMachine.RotaryAxis
- Return type:
str
- set_default_values() None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub set_DefaultValues()Initialise the Manufacturing Machine parameters.Example:The following example make the init of the parameter of the MachineThisMachine .call ThisMachine.set_DefaultValues
- Return type:
None