Collection Class — NXOpen Python API Reference 12.0.0 documentation

# Collection Class

class `NXOpen.Assemblies.ProductInterface.``Collection`

  Bases: `object`

  This class represents the collection of product interface objects

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

  New in version NX5.0.0.

# Methods

Method | Description
--- | ---
CreateObjectBuilder | Create Product Interface Object Builder
CreateObjectBuilderWithVersion | Create Product Interface Object Builder
CreatePropertyBuilder | Create Product Interface Property Builder
FindObject | Find the Product Interface Object with input name
GetProductInterfaces | Returns all the product interface objects in the part

# Method Detail

## CreateObjectBuilder

`Collection.``CreateObjectBuilder`

  Create Product Interface Object Builder

  Signature `CreateObjectBuilder()`

  Returns: |
  Return type: | `NXOpen.Assemblies.ProductInterface.ObjectBuilder`

  New in version NX5.0.0.

  Deprecated since version NX11.0.1: Please use `NXOpen.Assemblies.ProductInterface.Collection.CreateObjectBuilderWithVersion()` instead.

  License requirements: None.

## CreateObjectBuilderWithVersion

`Collection.``CreateObjectBuilderWithVersion`

  Create Product Interface Object Builder

  Signature `CreateObjectBuilderWithVersion(version)`

  Parameters: | version (int) –
  Returns: |
  Return type: | `NXOpen.Assemblies.ProductInterface.ObjectBuilder`

  New in version NX11.0.1.

  License requirements: None.

## CreatePropertyBuilder

`Collection.``CreatePropertyBuilder`

  Create Product Interface Property Builder

  Signature `CreatePropertyBuilder()`

  Returns: |
  Return type: | `NXOpen.Assemblies.ProductInterface.PropertyBuilder`

  New in version NX9.0.0.

  License requirements: None.

## FindObject

`Collection.``FindObject`

  Find the Product Interface Object with input name

  Signature `FindObject(journalIdentifier)`

  Parameters: | journalIdentifier (str) – Identifier of the product interface object you want
  Returns: | Product Interface Object with this identifier
  Return type: | `NXOpen.NXObject`

  New in version NX5.0.0.

  License requirements: None.

## GetProductInterfaces

`Collection.``GetProductInterfaces`

  Returns all the product interface objects in the part

  Signature `GetProductInterfaces()`

  Returns: | product interface objects in the part
  Return type: | list of `NXOpen.Assemblies.ProductInterface.InterfaceObject`

  New in version NX10.0.2.

  License requirements: None.