BodyContactCollection Class¶
-
class
NXOpen.Motion.
BodyContactCollection
¶ Bases:
object
Represents a collection of 3D contact objects.
Any contact object must be created and found through this class To obtain an instance of this class, refer to
NXOpen.Motion.MotionManager
New in version NX5.0.0.
Methods¶
Method | Description |
---|---|
CreateBodyContactBuilder | Creates a NXOpen.Motion.BodyContactBuilder |
FindObject | Finds the NXOpen.Motion.BodyContact with the given name. |
Method Detail¶
CreateBodyContactBuilder¶
-
BodyContactCollection.
CreateBodyContactBuilder
¶ Creates a
NXOpen.Motion.BodyContactBuilder
Signature
CreateBodyContactBuilder(contactobj)
Parameters: contactobj ( NXOpen.Motion.BodyContact
) – “NXOpen.Motion.BodyContact
to be edited, if None then create a new oneReturns: Return type: NXOpen.Motion.BodyContactBuilder
New in version NX5.0.0.
License requirements: mechanisms (“MECHANISMS”)
FindObject¶
-
BodyContactCollection.
FindObject
¶ Finds the
NXOpen.Motion.BodyContact
with the given name.An exception will be thrown if no object can be found with given name.
Signature
FindObject(name)
Parameters: name (str) – The name of the contact object. Returns: NXOpen.Motion.BodyContact
of this name.Return type: NXOpen.Motion.BodyContact
New in version NX5.0.0.
License requirements: mechanisms (“MECHANISMS”)