pycatia.kinematics_interfaces.joints¶
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.kinematics_interfaces.joints.Joints(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionJointsA collection of all Joint entities currently managed by theapplication.- add() Joint ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func Add() As JointCreate a new Joint and adds it to the Joints collection.Returns:The created JointExample:This example creates a new Joint in the TheJointscollection.Dim NewJoint As JointSet NewJoint = TheJoints.Add()
- Return type:
- item(i_index: cat_variant) Joint ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func Item(CATVariant iIndex) As JointReturns a Joint using its index or its name from the Jointscollection.Parameters:iIndexThe index or the name of the Joint to retrieve from the collectionof Joints. As a numerics, this index is the rank of the Joint in thecollection. The index of the first Joint in the collection is 1, and the indexof the last Joint is Count. As a string, it is the name you assigned to theJoint using theAnyObject.Name property.Returns:The retrieved JointExample:This example returns in ThisJoint the third Joint in the collection,and in ThatJoint the Joint named MyJoint.Dim ThisJoint As JointSet ThisJoint = TheJoints.Item(3)Dim ThatJoint As JointSet ThatJoint = CATIA.Joints.Item(“MyJoint”)
- Parameters:
i_index (cat_variant) –
- Return type:
- remove(i_index: cat_variant) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub Remove(CATVariant iIndex)Remove a Joint from the Joints collection.Parameters:iIndexThe index or the name of the Joint to retrieve from the collectionof Joints. As a numerics, this index is the rank of the Joint in thecollection. The index of the first Joint in the collection is 1, and the indexof the last Joint is Count. As a string, it is the name you assigned to theJoint.Returns:NothingExample:The following example removes the tenth Joint and the Joint namedJointTwo from the TheJoints collection.TheJoints.Remove(10)TheJoints.Remove(“JointTwo”)
- Parameters:
i_index (cat_variant) –
- Return type:
None