RigidBodyCollection Class¶
-
class
NXOpen.Mechatronics.RigidBodyCollection¶ Bases:
objectRepresents a collection of Rigid Body.
To obtain an instance of this class, refer to
NXOpen.Mechatronics.PhysicsManagerNew in version NX7.5.1.
Methods¶
| Method | Description |
|---|---|
| CreateRigidBodyBuilder | Creates a NXOpen.Mechatronics.RigidBodyBuilder. |
| FindObject | Finds the NXOpen.Mechatronics.RigidBody with the given name. |
Method Detail¶
CreateRigidBodyBuilder¶
-
RigidBodyCollection.CreateRigidBodyBuilder¶ Creates a
NXOpen.Mechatronics.RigidBodyBuilder.Signature
CreateRigidBodyBuilder(rigidBody)Parameters: rigidBody ( NXOpen.Mechatronics.RigidBody) –NXOpen.Mechatronics.RigidBodyto be edited, if None then create a new oneReturns: Return type: NXOpen.Mechatronics.RigidBodyBuilderNew in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
FindObject¶
-
RigidBodyCollection.FindObject¶ Finds the
NXOpen.Mechatronics.RigidBodywith 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 NXOpen.Mechatronics.RigidBody.Returns: NXOpen.Mechatronics.RigidBodywith this name.Return type: NXOpen.Mechatronics.RigidBodyNew in version NX7.5.1.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)