RequirementCollection Class — NXOpen Python API Reference 12.0.0 documentation

# RequirementCollection Class

class `NXOpen.Mechatronics.``RequirementCollection`

  Bases: `object`

  Represents a `NXOpen.Mechatronics.RequirementCollection`

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

  New in version NX8.5.0.

# Methods

Method | Description
--- | ---
CreateRequirementBuilder | Create builder for Requirement class
FindObject | Finds the `NXOpen.Mechatronics.Requirement` object with the given name.

# Method Detail

## CreateRequirementBuilder

`RequirementCollection.``CreateRequirementBuilder`

  Create builder for Requirement class

  Signature `CreateRequirementBuilder(object)`

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

  New in version NX8.5.0.

  License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

## FindObject

`RequirementCollection.``FindObject`

  Finds the `NXOpen.Mechatronics.Requirement` object with the given name.

  Signature `FindObject(name)`

  Parameters: | name (str) – Name of the requirement object, actually it shall be handle.
  Returns: | `NXOpen.Mechatronics.Requirement` object with this name.
  Return type: | `NXOpen.Mechatronics.Requirement`

  New in version NX8.5.0.

  License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)