pycatia.manufacturing_interfaces.manufacturing_tool¶
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_tool.ManufacturingTool(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectManufacturingToolA ManufacturingTool for a Manufacturing Document.- add_corrector() ManufacturingToolCorrector ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func AddCorrector() As ManufacturingToolCorrectorAdds a corrector to a Manufacturing tool.Example:The following example adds in Corr the tool corrector of ToolCurrentToolSet Corr = CurrentTool.AddCorrector
- Return type:
- 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 Default Comment of a Manufacturing Setup.Example:The following example return the comment ToolComment of to themanufacturing tool CurrentToolToolComment=CurrentTool.Comment
- Return type:
str
- property corrector_count: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property CorrectorCount() As short (Read Only)Retreive the number of correctors of a Manufacturing tool.Example:The following example retreives in CorrCount the number of toolcorrectors of tool CurrentToolSet NbCorr = CurrentTool.CorrectorCount
- Return type:
int
- 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 a Manufacturing Tool.Each attribute is a CKE object.Example:The following example retreives in Diameter the attribute MfgDiameterof the Manufacturing Tool firstToolSet Diameter = firstTool.GetAttribute(MfgDiameter)
- 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 ManufacturingTool.
- Parameters:
i_attribute_name (str) –
- Return type:
str
- get_corrector(index: int) ManufacturingToolCorrector ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetCorrector(short index) AsManufacturingToolCorrectorRetreive the corrector (index) of a Manufacturing tool.Example:The following example retreives in Corr the tool corrector of ToolCurrentToolSet Corr = CurrentTool.GetCorrector(index)
- Parameters:
index (int) –
- Return type:
- get_list_of_apt_parameters(o_list_of_apt_parameters: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetListOfAptParameters(CATSafeArrayVariantoListOfAptParameters)Retrieve the list of apt definition parameters of a ManufacturingTool.Parameters are returned in an array of real values.
- Parameters:
o_list_of_apt_parameters (tuple) –
- Return type:
None
- 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 a ManufacturingTool.The number of items in the output array is equal to the number ofattributes of the tool.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 Manufacturing Tool firstToolcallfirstTool.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 a Manufacturing Tool.Each attribute is returned as the name of a CKE object.Example:The following example retrieves in TabAttributes the list of attributesof the Manufacturing Tool firstToolcall firstTool.GetListOfAttributes(TabAttributes)
- Parameters:
o_list_of_attributes (tuple) –
- Return type:
None
- get_list_of_geom_attributes(o_list_of_attributes: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetListOfGeomAttributes(CATSafeArrayVariantoListOfAttributes)Retrieve the list of geometry attributes of a ManufacturingTool.Each attribute is returned as the name of a CKE object.Example:The following example retrieves in TabGeomAttributes the list ofgeometry attributes of the Manufacturing ToolfirstToolcall firstTool.GetListOfGeomAttributes(TabAttributes)
- Parameters:
o_list_of_attributes (tuple) –
- Return type:
None
- 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 og attributes of a Manufacturing Tool.Example:The following example returns the Number of attributes of themanufacturing Tool CurrentToolNumber = CurrentTool.NumberOfAttributes
- Return type:
int
- property picture: str¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Picture() As CATBSTR (Read Only)Return the path where a picture of the parametrized tool isstored.Example:The following example return the path PicturePath where can be foundthe picture of the tool CurrentToolPicturePath=CurrentTool.Picture
- Return type:
str
- property tool_number: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property ToolNumber() As long (Read Only)Give the Number linked to a Manufacturing Tool.Example:The following example returns the Number linked to the manufacturingTool CurrentToolNumber = CurrentTool.ToolNumber
- Return type:
int
- property tool_type: str¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property ToolType() As CATBSTR (Read Only)Return the technological type of a the tool.Example:The following example return the tool type ToolType of to themanufacturing tool CurrentToolSet ToolType=CurrentTool.ToolType
- Return type:
str