pycatia.dnb_igp_arc_commands.amp_tag¶
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.dnb_igp_arc_commands.amp_tag.AMPTag(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectAMPTagThis interface provides the methods to handle the featureAMPTag.DESCRIPTION :AMP generates finally a RobotTask with Operations/RobotMotions( havingattributes ) and a set of tags( seam ). RobotTask with Operations/RobotMotions(having attributes ) and the set of tags have information. For example each taghas the information regarding XYZYPR values. RobotMotions have informationregarding weld speed etc. The current implementation of AMP is such that theseinformation are first populated in AMPTags. The list of AMPTags is put in anAMPPath. When AMP is nearing its’ end of execution, tags and RobotTask withappropriate Operations/RobotMotions are created and populated with theseinformation by retrieving it from the AMPTags( For each Operation/RobotMotionand tag there is a corresponding AMPTag from which these information areretrieved ). AMPTags are non-persistent and they are just intermediate buffersfor holding these information. Through the ability of executing VB script fileby embedding the call to it through the “Execute” keyword, these AMPTags aremade available to the user for further customization of these information.“Execute” keyword facilitates calling the VB script file’s CATMain method bypassing it the AMPPath object as the single argument.USAGE :This interface can be used only during AMP primitive file execution and not ina stand alone VB script file. This interface can only be used in conjunctionwith AMPPath interface. Please see the usage instructions in the AMPPathinterface.- add_attribute_real(name: str, value: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AddAttributeReal(CATBSTR Name,double Value)Function to add real attribute on the given AMPTag.Parameters:NameName of the attribute to be added.ValueValue of the added attribute.Returns:an HRESULT value.Legal values:S_OK if the operation succeedsE_FAIL otherwise.
- Parameters:
name (str) –
value (float) –
- Return type:
None
- add_attribute_string(name: str, value: str) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AddAttributeString(CATBSTR Name,CATBSTR Value)Function to add string attribute on the given AMPTag.Parameters:NameName of the attribute to be added.ValueValue of the added attribute.Returns:an HRESULT value.Legal values:S_OK if the operation succeedsE_FAIL otherwise.
- Parameters:
name (str) –
value (str) –
- Return type:
None
- add_aux_attribute(i_name: str, i_value: str) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AddAuxAttribute(CATBSTR iName,CATBSTR iValue)Function to add an auxilliary attribute to the givenAMPTag.Parameters:iNameThe name of the auxilliary attribute.iValueThe value of the auxilliary attribute.Returns:an HRESULT value.Legal values:S_OK if the operation succeedsE_FAIL otherwise
- Parameters:
i_name (str) –
i_value (str) –
- Return type:
None
- get_attribute_value_real(name: str, o_value: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetAttributeValueReal(CATBSTR Name,double oValue)Function to get the value of the given real attribute on the givenAMPTag.Parameters:NameName of the attribute whose value has to be obtained.ValueValue of the attribute.Returns:an HRESULT value.Legal values:S_OK if the operation succeedsE_FAIL otherwise
- Parameters:
name (str) –
o_value (float) –
- Return type:
None
- get_attribute_value_string(name: str, value: str) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetAttributeValueString(CATBSTR Name,CATBSTR Value)Function to get the value of the given string attribute on the givenAMPTag.Parameters:NameName of the attribute whose value has to be obtained.ValueValue of the attribute.Returns:an HRESULT value.Legal values:S_OK if the operation succeedsE_FAIL otherwise.
- Parameters:
name (str) –
value (str) –
- Return type:
None
- get_aux_attribute(i_index: int, o_name: str, o_value: str) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetAuxAttribute(short iIndex,CATBSTR oName,CATBSTR oValue)Function to get an auxilliary attribute value of the givenAMPTag.Parameters:iIndexThe index of the auxilliary attribute.oNameThe name of the auxilliary attribute.oValueThe value of the auxilliary attribute.Returns:an HRESULT value.Legal values:S_OK if the operation succeedsE_FAIL otherwise.
- Parameters:
i_index (int) –
o_name (str) –
o_value (str) –
- Return type:
None
- get_aux_attribute_num(o_num: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetAuxAttributeNum(short oNum)Function to get the number of auxilliary attributes of the givenAMPTag.Parameters:oNumThe number of auxilliary attributes of the given AMPTag.Returns:an HRESULT value.Legal values:S_OK if the operation succeedsE_FAIL otherwise.
- Parameters:
o_num (int) –
- Return type:
None
- get_aux_axes_values(o_auxillary_axis_values: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetAuxAxesValues(CATSafeArrayVariantoAuxillaryAxisValues)Function to get the auxilliary axes values of the givenAMPTag.Parameters:oAuxillaryAxisValuesThe auxilliary axes values of the given AMPTag.Returns:an HRESULT value.Legal values:S_OK if the operation succeedsE_FAIL otherwise.
- Parameters:
o_auxillary_axis_values (tuple) –
- Return type:
None
- get_config(oconfig: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetConfig(short oconfig)Function to get the config value of the given AMPTag.Parameters:oconfigThe config value of the given AMPTag.Returns:an HRESULT value.Legal values:S_OK if the operation succeedsE_FAIL otherwise.
- Parameters:
oconfig (int) –
- Return type:
None
- get_op_type(o_op_type: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetOpType(short oOpType)Function to get the operation type of the given AMPTag.Parameters:oOpTypeThe operation type of the given AMPTag.Returns:an HRESULT value.Legal values:S_OK if the operation succeedsE_FAIL otherwise.
- Parameters:
o_op_type (int) –
- Return type:
None
- get_position(o_transform: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetPosition(CATSafeArrayVariant oTransform)Function to get the position( array of doubles; X, Y, Z, Yaw, Roll, Pitchvalues ) of the given AMPTag.Parameters:oTransformArray containing X, Y, Z, Yaw, Roll, Pitch values in sequence.Returns:an HRESULT value.Legal values:S_OK if the operation succeedsE_FAIL otherwise.
- Parameters:
o_transform (tuple) –
- Return type:
None
- get_type(o_tag_type: str) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetType(CATBSTR oTagType)Function to get the type of the given AMPTag.Parameters:oTagTypeThe type of the given AMPTag.Returns:an HRESULT value.Legal values:S_OK if the operation succeedsE_FAIL otherwise.
- Parameters:
o_tag_type (str) –
- Return type:
None
- get_via(o_via_status: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetVia(short oViaStatus)Function to get the via status of the given AMPTag.Parameters:oViaStatusThe via status of the given AMPTag.Returns:an HRESULT value.Legal values:S_OK if the operation succeedsE_FAIL otherwise.
- Parameters:
o_via_status (int) –
- Return type:
None
- get_weld_speed(o_speed: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetWeldSpeed(double oSpeed)Function to get the weld speed of the given AMPTag.Parameters:oSpeedThe weld speed of the given AMPTag.Returns:an HRESULT value.Legal values:S_OK if the operation succeedsE_FAIL otherwise.
- Parameters:
o_speed (float) –
- Return type:
None
- remove_attribute(name: str) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub RemoveAttribute(CATBSTR Name)Function to remove an existing attribute on the givenAMPTag.Parameters:NameName of the attribute to be removed.Returns:an HRESULT value.Legal values:S_OK if the operation succeedsE_FAIL otherwise.
- Parameters:
name (str) –
- Return type:
None
- remove_aux_attribute(i_index: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub RemoveAuxAttribute(short iIndex)Function to remove an auxilliary attribute of the givenAMPTag.Parameters:iIndexThe index of the auxilliary attribute.Returns:an HRESULT value.Legal values:S_OK if the operation succeedsE_FAIL otherwise.
- Parameters:
i_index (int) –
- Return type:
None
- set_attribute_value_real(name: str, value: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetAttributeValueReal(CATBSTR Name,double Value)Function to set the value of the given real attribute on the givenAMPTag.Parameters:NameName of the attribute whose value has to be set.ValueThe Value to be set.Returns:an HRESULT value.Legal values:S_OK if the operation succeedsE_FAIL otherwise.
- Parameters:
name (str) –
value (float) –
- Return type:
None
- set_attribute_value_string(name: str, value: str) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetAttributeValueString(CATBSTR Name,CATBSTR Value)Function to set the value of the given string attribute on the givenAMPTag.Parameters:NameName of the attribute whose value has to be set.ValueThe Value to be set.Returns:an HRESULT value.Legal values:S_OK if the operation succeedsE_FAIL otherwise.
- Parameters:
name (str) –
value (str) –
- Return type:
None
- set_aux_axes_values(i_auxillary_axis_values: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetAuxAxesValues(CATSafeArrayVariantiAuxillaryAxisValues)Function to set the auxilliary axes values of the givenAMPTag.Parameters:iAuxillaryAxisValuesThe auxilliary axes values of the given AMPTag.Returns:an HRESULT value.Legal values:S_OK if the operation succeedsE_FAIL otherwise.
- Parameters:
i_auxillary_axis_values (tuple) –
- Return type:
None
- set_config(iconfig: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetConfig(short iconfig)Function to set the config value of the given AMPTag.Parameters:iconfigThe config value of the given AMPTag.Returns:an HRESULT value.Legal values:S_OK if the operation succeedsE_FAIL otherwise.
- Parameters:
iconfig (int) –
- Return type:
None
- set_op_type(i_op_type: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetOpType(short iOpType)Function to set the operation type of the given AMPTag.Parameters:iOpTypeThe operation type to be set for the given AMPTag.Returns:an HRESULT value.Legal values:S_OK if the operation succeedsE_FAIL otherwise.
- Parameters:
i_op_type (int) –
- Return type:
None
- set_position(i_transform: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetPosition(CATSafeArrayVariant iTransform)Function to set the position( array of doubles; X, Y, Z, Yaw, Roll, Pitchvalues ) of the given AMPTag.Parameters:iTransformArray containing X, Y, Z, Yaw, Roll, Pitch values in sequence.Returns:an HRESULT value.Legal values:S_OK if the operation succeedsE_FAIL otherwise.
- Parameters:
i_transform (tuple) –
- Return type:
None
- set_type(i_tag_type: str) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetType(CATBSTR iTagType)Function to set the type of the given AMPTag.Parameters:iTagTypeThe type to be set for the given AMPTag.Returns:an HRESULT value.Legal values:S_OK if the operation succeedsE_FAIL otherwise.
- Parameters:
i_tag_type (str) –
- Return type:
None
- set_via(i_via_status: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetVia(short iViaStatus)Function to set the via status of the given AMPTag.Parameters:iViaStatusThe via status of the given AMPTag.Returns:an HRESULT value.Legal values:S_OK if the operation succeedsE_FAIL otherwise.
- Parameters:
i_via_status (int) –
- Return type:
None
- set_weld_speed(i_speed: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetWeldSpeed(double iSpeed)Function to set the weld speed of the given AMPTag.Parameters:iSpeedThe weld speed to be set for the given AMPTag.Returns:an HRESULT value.Legal values:S_OK if the operation succeedsE_FAIL otherwise.
- Parameters:
i_speed (float) –
- Return type:
None