PackagingCollection Class — NXOpen Python API Reference 12.0.0 documentation

# PackagingCollection Class

class `NXOpen.Motion.``PackagingCollection`

  Bases: `object`

  Represents a collection of Packaging objects

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

  New in version NX4.0.0.

# Methods

Method | Description
--- | ---
CreateInterferenceBuilder | Creates an `NXOpen.Motion.PackagingInterferenceBuilder`.
CreateMeasureBuilder | Creates a `NXOpen.Motion.PackagingMeasureBuilder`.
CreateTraceBuilder | Creates a `NXOpen.Motion.PackagingTraceBuilder`.
FindObject | Finds the `NXOpen.Motion.Packaging` object with the given name.

# Method Detail

## CreateInterferenceBuilder

`PackagingCollection.``CreateInterferenceBuilder`

  Creates an `NXOpen.Motion.PackagingInterferenceBuilder`.

  This class is used to construct an `NXOpen.Motion.PackagingInterference` object.

  Signature `CreateInterferenceBuilder(interference)`

  Parameters: | interference (`NXOpen.Motion.PackagingInterference`) – `NXOpen.Motion.PackagingInterference` object to edit. None indicates that a new `NXOpen.Motion.PackagingInterference` object is being created.
  Returns: | `NXOpen.Motion.PackagingInterferenceBuilder` object
  Return type: | `NXOpen.Motion.PackagingInterferenceBuilder`

  New in version NX4.0.0.

  License requirements: mechanisms (“MECHANISMS”)

## CreateMeasureBuilder

`PackagingCollection.``CreateMeasureBuilder`

  Creates a `NXOpen.Motion.PackagingMeasureBuilder`.

  This class is used to construct a `NXOpen.Measure` object.

  Signature `CreateMeasureBuilder(measure)`

  Parameters: | measure (`NXOpen.Motion.PackagingMeasure`) – `NXOpen.Measure` object to edit. None indicates that a new `NXOpen.Measure` object is being created.
  Returns: | `NXOpen.Motion.PackagingMeasureBuilder` object
  Return type: | `NXOpen.Motion.PackagingMeasureBuilder`

  New in version NX4.0.0.

  License requirements: mechanisms (“MECHANISMS”)

## CreateTraceBuilder

`PackagingCollection.``CreateTraceBuilder`

  Creates a `NXOpen.Motion.PackagingTraceBuilder`.

  This class is used to construct a `NXOpen.Motion.PackagingTrace` object.

  Signature `CreateTraceBuilder(trace)`

  Parameters: | trace (`NXOpen.Motion.PackagingTrace`) – `NXOpen.Motion.PackagingTrace` object to edit. None indicates that a new `NXOpen.Motion.PackagingTrace` object is being created.
  Returns: | `NXOpen.Motion.PackagingTraceBuilder` object
  Return type: | `NXOpen.Motion.PackagingTraceBuilder`

  New in version NX4.0.0.

  License requirements: mechanisms (“MECHANISMS”)

## FindObject

`PackagingCollection.``FindObject`

  Finds the `NXOpen.Motion.Packaging` object with the given name.

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

  Signature `FindObject(name)`

  Parameters: | name (str) – Name of the Packaging object.
  Returns: | `NXOpen.Motion.Packaging` object with this name.
  Return type: | `NXOpen.Motion.Packaging`

  New in version NX4.0.0.

  License requirements: mechanisms (“MECHANISMS”)