AccelerometerCollection Class — NXOpen Python API Reference 12.0.0 documentation

# AccelerometerCollection Class

class `NXOpen.Mechatronics.``AccelerometerCollection`

  Bases: `object`

  Represents a collection of Accelerometer.

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

  New in version NX11.0.0.

# Methods

Method | Description
--- | ---
CreateAccelerometerBuilder | Creates a `NXOpen.Mechatronics.AccelerometerBuilder`.
FindObject | Finds the `NXOpen.Mechatronics.Accelerometer` with the given name. An exception will be thrown if no object can be found with given name.

# Method Detail

## CreateAccelerometerBuilder

`AccelerometerCollection.``CreateAccelerometerBuilder`

  Creates a `NXOpen.Mechatronics.AccelerometerBuilder`.

  Signature `CreateAccelerometerBuilder(accelerometer)`

  Parameters: | accelerometer (`NXOpen.Mechatronics.Accelerometer`) – `NXOpen.Mechatronics.Accelerometer` to be edited, if None then create a new one
  Returns: |
  Return type: | `NXOpen.Mechatronics.AccelerometerBuilder`

  New in version NX11.0.0.

  License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

## FindObject

`AccelerometerCollection.``FindObject`

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

  New in version NX11.0.0.

  License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)