GearCollection Class

class NXOpen.Mechatronics.GearCollection

Bases: object

Represents a collection of Gears.

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

New in version NX7.5.1.

Methods

Method Description
CreateGearBuilder Creates a NXOpen.Mechatronics.GearBuilder.
FindObject Finds the NXOpen.Mechatronics.Gear with the given name.

Method Detail

CreateGearBuilder

GearCollection.CreateGearBuilder

Creates a NXOpen.Mechatronics.GearBuilder.

Signature CreateGearBuilder(gearConstraint)

Parameters:gearConstraint (NXOpen.Mechatronics.Gear) – NXOpen.Mechatronics.Gear to be edited, if None then create a new one
Returns:
Return type:NXOpen.Mechatronics.GearBuilder

New in version NX7.5.1.

License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

FindObject

GearCollection.FindObject

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

New in version NX7.5.1.

License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)