pycatia.dnb_device_activity_interfaces.move_joints_act¶
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_device_activity_interfaces.move_joints_act.MoveJointsAct(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectDMAPSInterfaces.ActivityMoveJointsActInterface representing a MoveJointsAct.Role: This interface is used to retrieve/assign the value of motiontargets/attrs for the MoveJointsAct.The following code snippet can be used to obtain a MoveJointsAct from aselected ActivityDim oSelectAct As ActivitySet oSelectAct = CATIA.ActiveDocument.Selection.FindObject(“CATIAActivity”)Dim objMoveAct As MoveJointsActSet objMoveAct = oSelectAct.GetTechnologicalObject(“MoveJointsAct”)- property acceleration: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Acceleration() As doubleThis property returns and sets the Acceleration percentage for theactivity. • For straight line motion, the percentage of the maximum TCP linearacceleration • For joint-interpolated motion, the percentage of the maximumjoint accelerationReturns:oAccel The Speed Percent for the activity.Parameters:iAccelThe specified Speed Percent for the activity.Example:Dim objMoveAct As MoveJointsAct……Dim Accl as DoubleAccl=objMoveAct.AccelerationAccl = 30objMoveAct.Acceleration=Accl
- Return type:
float
- property corner_rounding: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property CornerRounding() As doubleThis property returns and sets the Corner Rounding for the activity. CornerRounding::The percentage represents the extent to which the device deceleratesas it rounds the corner.Returns:oCornerRounding The Corner Rounding for the activity.Parameters:iCornerRoundingThe specified Corner Rounding for the activity.Example:Dim objMoveAct As MoveJointsAct……Dim Rounding as DoubleRounding=objMoveAct.CornerRoundingRounding = 30objMoveAct.CornerRounding=Rounding
- Return type:
float
- 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 theactivity.Returns:oJointVal The joint values for the activity.Parameters:iJointValThe specified joint values for the activity.Example:Dim objMoveAct As MoveJointsAct……Dim ListOfJointValues()ListOfJointValues=objMoveAct.JointValues..For i = 0 to ubound (ListOfJointValues)…NextobjMoveAct.JointValues=ListOfJointValues
- Return type:
tuple
- property mechanism_index: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property MechanismIndex() As shortSets and Retrieves mechanism index for the activity. The index of mechanismin the list of mechanisms of the owning resource.Returns:oMechanismIndex The mechanism index for the activity.Parameters:iMechanismIndexThe specified mechanism index for the activity.Example:Dim objMoveAct As MoveJointsAct……Dim MechIndex as IntegerMechIndex=objMoveAct.MechanismIndexMechIndex = 1objMoveAct.MechanismIndex=MechIndex
- Return type:
int
- property motion_basis: str¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property MotionBasis() As CATBSTRSets and Retrieves Motion Basis defined for the activity (“TIME” /“SPEED”)Returns:oMotionBasis The Motion Basis for the activity.Parameters:iMotionBasisThe specified Motion Basis for the activity.Example:Dim objMoveAct As MoveJointsAct……Dim MotionBas as stringMotionBas=objMoveAct.MotionBasisMotionBas = “SPEED”objMoveAct.MotionBasis=MotionBas
- Return type:
str
- property speed_percent: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property SpeedPercent() As doubleThis property returns and sets the speed value percentage for the activity.• For straight line motion, the percentage of the maximum TCP linear speed. •For joint-interpolated motion, the percentage of the maximum jointspeed.Returns:oSpeedPercent The Speed Percent for the activity.Parameters:iSpeedPercentThe specified Speed Percent for the activity.Example:Dim objMoveAct As MoveJointsAct……Dim SpeedValPr as DoubleSpeedValPr=objMoveAct.SpeedPercentSpeedValPr = 80objMoveAct.SpeedPercent=SpeedValPr
- Return type:
float