AdapterFormulaCollection Class — NXOpen Python API Reference 12.0.0 documentation

# AdapterFormulaCollection Class

class `NXOpen.Mechatronics.``AdapterFormulaCollection`

  Bases: `object`

  Represents a collection of Adapter Formula.

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

  New in version NX8.5.0.

# Methods

Method | Description
--- | ---
CreateAdapterFormulaBuilder | Creates a `NXOpen.Mechatronics.AdapterFormulaBuilder`.
FindObject | Finds the `NXOpen.Mechatronics.AdapterFormula` with the given name.

# Method Detail

## CreateAdapterFormulaBuilder

`AdapterFormulaCollection.``CreateAdapterFormulaBuilder`

  Creates a `NXOpen.Mechatronics.AdapterFormulaBuilder`.

  Signature `CreateAdapterFormulaBuilder(object)`

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

  New in version NX8.5.0.

  License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

## FindObject

`AdapterFormulaCollection.``FindObject`

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

  New in version NX8.5.0.

  License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)