ScalarTorqueCollection Class — NXOpen Python API Reference 12.0.0 documentation

# ScalarTorqueCollection Class

class `NXOpen.Motion.``ScalarTorqueCollection`

  Bases: `object`

  Represents a collection of motion scalar torque

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

  New in version NX6.0.0.

# Methods

Method | Description
--- | ---
CreateScalarTorqueBuilder | Return `NXOpen.Motion.ScalarTorqueBuilder` object
FindObject | Finds the `NXOpen.Motion.ScalarTorque` with the given name.

# Method Detail

## CreateScalarTorqueBuilder

`ScalarTorqueCollection.``CreateScalarTorqueBuilder`

  Return `NXOpen.Motion.ScalarTorqueBuilder` object

  Signature `CreateScalarTorqueBuilder(scalarTorque)`

  Parameters: | scalarTorque (`NXOpen.Motion.ScalarTorque`) – `NXOpen.Motion.ScalarTorque` to be edited, if None then create a new one
  Returns: | ScalarTorqueBuilder object
  Return type: | `NXOpen.Motion.ScalarTorqueBuilder`

  New in version NX6.0.0.

  License requirements: mechanisms (“MECHANISMS”)

## FindObject

`ScalarTorqueCollection.``FindObject`

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

  New in version NX6.0.0.

  License requirements: mechanisms (“MECHANISMS”)