pycatia.dnb_igp_setup_interfaces.move_action_activity¶
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_setup_interfaces.move_action_activity.MoveActionActivity(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectDMAPSInterfaces.ActivityMoveActionActivityInterface representing a Move Activity inside a generic Action (Close Gun/OpenGun etc).Role: This interface is used to retieve/assign the value of motiontargets/attributes for the Move Activity.The following code snippet can be used to obtain a MoveActionActivity from aselected ActivityDim oSelectAct As Activityset oSelectAct = CATIA.ActiveDocument.Selection.FindObject(“CATIAActivity”)Dim objMoveAct As MoveActionActivityset objMoveAct = oSelectAct.GetTechnologicalObject(“MoveActionActivity”)- property home_name: str¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property HomeName() As CATBSTRSets and Retreives Home Name corresponding to the activitytargetReturns:oHomeName Home Name stored as the target.Parameters:iHomeNameThe specified Home Name as the activity targetExample:Dim objMoveAct As MoveActionActivity……Dim HomeName as stringset HomeName=objMoveAct.HomeNameHomeName = “Home.2”objMoveAct.HomeName=HomeName
- Return type:
str
- property joint_values: tuple¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property JointValues() As CATSafeArrayVariantThis property returns and sets the joint values for the Moveactivity.Returns:oJointVal The joint values for the Move activity.Parameters:iJointValThe specified joint values for the move activity.Example:Dim objMoveAct As MoveActionActivity……Dim ListOfJointValues()set ListOfJointValues=objMoveAct.JointValues..For i = 0 to ubound (ListOfJointValues)…NextobjMoveAct.JointValues=ListOfJointValues
- Return type:
tuple
- property target_type: str¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property TargetType() As CATBSTR (Read Only)Retreives Target Type depending on the defined target(“HOME” /“JOINT”)Returns:oTargetType The Target Type for the Move.Example:Dim objMoveAct As MoveActionActivity……Dim TgtType As StringTgtType=objMoveAct.TargetType
- Return type:
str