RigidBodyCollection Class

class NXOpen.Mechatronics.RigidBodyCollection

Bases: object

Represents a collection of Rigid Body.

To obtain an instance of this class, refer to NXOpen.Mechatronics.PhysicsManager

New 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.RigidBody to be edited, if None then create a new one
Returns:
Return type:NXOpen.Mechatronics.RigidBodyBuilder

New in version NX7.5.1.

License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

FindObject

RigidBodyCollection.FindObject

Finds the NXOpen.Mechatronics.RigidBody 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 NXOpen.Mechatronics.RigidBody.
Returns:NXOpen.Mechatronics.RigidBody with this name.
Return type:NXOpen.Mechatronics.RigidBody

New in version NX7.5.1.

License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)