VectorForceCollection Class — NXOpen Python API Reference 12.0.0 documentation

# VectorForceCollection Class

class `NXOpen.Motion.``VectorForceCollection`

  Bases: `object`

  Represents a collection of vector force objects

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

  New in version NX5.0.0.

# Methods

Method | Description
--- | ---
CreateVectorForceBuilder | Creates a `NXOpen.Motion.JointDriverBuilder`
FindObject | Finds the `NXOpen.Motion.VectorForce` with the given name.

# Method Detail

## CreateVectorForceBuilder

`VectorForceCollection.``CreateVectorForceBuilder`

  Creates a `NXOpen.Motion.JointDriverBuilder`

  Signature `CreateVectorForceBuilder(vectorforce)`

  Parameters: | vectorforce (`NXOpen.Motion.VectorForce`) – “`NXOpen.Motion.VectorForce` to be edited, if None then create a new one
  Returns: |
  Return type: | `NXOpen.Motion.VectorForceBuilder`

  New in version NX5.0.0.

  License requirements: mechanisms (“MECHANISMS”)

## FindObject

`VectorForceCollection.``FindObject`

  Finds the `NXOpen.Motion.VectorForce` 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.Motion.VectorForce`.
  Returns: | `NXOpen.Motion.VectorForce` with this name.
  Return type: | `NXOpen.Motion.VectorForce`

  New in version NX5.0.0.

  License requirements: mechanisms (“MECHANISMS”)