BodyContactCollection Class¶
-
class
NXOpen.Motion.BodyContactCollection¶ Bases:
objectRepresents 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.MotionManagerNew 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.BodyContactBuilderSignature
CreateBodyContactBuilder(contactobj)Parameters: contactobj ( NXOpen.Motion.BodyContact) – “NXOpen.Motion.BodyContactto be edited, if None then create a new oneReturns: Return type: NXOpen.Motion.BodyContactBuilderNew in version NX5.0.0.
License requirements: mechanisms (“MECHANISMS”)
FindObject¶
-
BodyContactCollection.FindObject¶ Finds the
NXOpen.Motion.BodyContactwith 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.BodyContactof this name.Return type: NXOpen.Motion.BodyContactNew in version NX5.0.0.
License requirements: mechanisms (“MECHANISMS”)