RuntimeNCCollection Class — NXOpen Python API Reference 12.0.0 documentation

# RuntimeNCCollection Class

class `NXOpen.Mechatronics.``RuntimeNCCollection`

  Bases: `object`

  Represents a collection of Runtime NC.

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

  New in version NX9.0.0.

# Methods

Method | Description
--- | ---
CreateRuntimeNcBuilder | Creates a `NXOpen.Mechatronics.RuntimeNCBuilder`.
FindObject | Finds the `NXOpen.Mechatronics.RuntimeNCObject` with the given name.

# Method Detail

## CreateRuntimeNcBuilder

`RuntimeNCCollection.``CreateRuntimeNcBuilder`

  Creates a `NXOpen.Mechatronics.RuntimeNCBuilder`.

  Signature `CreateRuntimeNcBuilder(runtimeNCObject)`

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

  New in version NX9.0.0.

  License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

## FindObject

`RuntimeNCCollection.``FindObject`

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

  New in version NX9.0.0.

  License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)