VelocitySensorCollection Class — NXOpen Python API Reference 12.0.0 documentation

# VelocitySensorCollection Class

class `NXOpen.Mechatronics.``VelocitySensorCollection`

  Bases: `object`

  Represents a collection of Velocity Sensor.

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

  New in version NX11.0.0.

# Methods

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

# Method Detail

## CreateVelocitySensorBuilder

`VelocitySensorCollection.``CreateVelocitySensorBuilder`

  Creates a `NXOpen.Mechatronics.VelocitySensorBuilder`.

  Signature `CreateVelocitySensorBuilder(velocitySensor)`

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

  New in version NX11.0.0.

  License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

## FindObject

`VelocitySensorCollection.``FindObject`

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

  New in version NX11.0.0.

  License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)