SpringCollection Class

class NXOpen.Motion.SpringCollection

Bases: object

Represents a collection of motion spring

To obtain an instance of this class, refer to NXOpen.Motion.MotionManager

New in version NX6.0.0.

Methods

Method Description
CreateSpringBuilder Return NXOpen.Motion.SpringBuilder object
FindObject Finds the NXOpen.Motion.Spring with the given name.

Method Detail

CreateSpringBuilder

SpringCollection.CreateSpringBuilder

Return NXOpen.Motion.SpringBuilder object

Signature CreateSpringBuilder(spring)

Parameters:spring (NXOpen.Motion.Spring) – NXOpen.Motion.Spring to be edited, if None then create a new one
Returns:SpringBuilder object
Return type:NXOpen.Motion.SpringBuilder

New in version NX6.0.0.

License requirements: mechanisms (“MECHANISMS”)

FindObject

SpringCollection.FindObject

Finds the NXOpen.Motion.Spring with the given name.

An exception will be thrown if no object can be found with given name.

Signature FindObject(name)

Parameters:name (str) –
Returns:
Return type:NXOpen.Motion.Spring

New in version NX6.0.0.

License requirements: mechanisms (“MECHANISMS”)