PMDCMotorCollection Class

class NXOpen.Motion.PMDCMotorCollection

Bases: object

Represents a collection of motion pmdc motor

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

New in version NX6.0.0.

Methods

Method Description
CreatePmdcMotorBuilder Return NXOpen.Motion.PMDCMotorBuilder object @return PMDCMotorBuilder object
FindObject Finds the NXOpen.Motion.PMDCMotor with the given name.

Method Detail

CreatePmdcMotorBuilder

PMDCMotorCollection.CreatePmdcMotorBuilder

Return NXOpen.Motion.PMDCMotorBuilder object

Signature CreatePmdcMotorBuilder(pmdcMotor)

Parameters:pmdcMotor (NXOpen.Motion.PMDCMotor) – NXOpen.Motion.PMDCMotor to be edited, if None then create a new one
Returns:PMDCMotorBuilder object
Return type:NXOpen.Motion.PMDCMotorBuilder

New in version NX6.0.0.

License requirements: nx_motion_motor (“NX Motion Motor”)

FindObject

PMDCMotorCollection.FindObject

Finds the NXOpen.Motion.PMDCMotor 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.PMDCMotor

New in version NX6.0.0.

License requirements: nx_motion_motor (“NX Motion Motor”)