ResultMeasureCollection Class — NXOpen Python API Reference 12.0.0 documentation

# ResultMeasureCollection Class

class `NXOpen.Motion.``ResultMeasureCollection`

  Bases: `object`

  Represents a collection of result measure objects

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

  New in version NX11.0.0.

# Methods

Method | Description
--- | ---
CreateResultMeasureBuilder | Creates a `NXOpen.Motion.ResultMeasureBuilder`.
DeleteResultMeasures | Delete list of result measures.
Find | Finds the `NXOpen.Motion.ResultMeasure` with the given name.
UpdateResultMeasures | Update list of result measures.

# Method Detail

## CreateResultMeasureBuilder

`ResultMeasureCollection.``CreateResultMeasureBuilder`

  Creates a `NXOpen.Motion.ResultMeasureBuilder`.

  If active `NXOpen.Motion.MotionSolution` is not present, builder will not be created.

  Signature `CreateResultMeasureBuilder(resultMeasure)`

  Parameters: | resultMeasure (`NXOpen.Motion.ResultMeasure`) – `NXOpen.Motion.ResultMeasure` to be edited, if None then create a new one
  Returns: |
  Return type: | `NXOpen.Motion.ResultMeasureBuilder`

  New in version NX11.0.0.

  License requirements: mechanisms (“MECHANISMS”)

## DeleteResultMeasures

`ResultMeasureCollection.``DeleteResultMeasures`

  Delete list of result measures.

  Signature `DeleteResultMeasures(resultMeasure)`

  Parameters: | resultMeasure (list of `NXOpen.Motion.ResultMeasure`) –

  New in version NX11.0.0.

  License requirements: mechanisms (“MECHANISMS”)

## Find

`ResultMeasureCollection.``Find`

  Finds the `NXOpen.Motion.ResultMeasure` with the given name.

  An exception will be thrown if no object can be found with given name.

  Signature `Find(name)`

  Parameters: | name (str) – The name of the `NXOpen.Motion.ResultMeasure`.
  Returns: | `NXOpen.Motion.ResultMeasure` with this name.
  Return type: | `NXOpen.Motion.ResultMeasure`

  New in version NX11.0.0.

  License requirements: mechanisms (“MECHANISMS”)

## UpdateResultMeasures

`ResultMeasureCollection.``UpdateResultMeasures`

  Update list of result measures.

  Signature `UpdateResultMeasures(resultMeasure)`

  Parameters: | resultMeasure (list of `NXOpen.Motion.ResultMeasure`) –

  New in version NX11.0.0.

  License requirements: mechanisms (“MECHANISMS”)