RoutePartDescriptorCollection Class — NXOpen Python API Reference 12.0.0 documentation

# RoutePartDescriptorCollection Class

class `NXOpen.Routing.``RoutePartDescriptorCollection`

  Bases: `object`

  Represents a collection of `NXOpen.Routing.RoutePartDescriptor` objects.

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

  New in version NX4.0.0.

# Methods

Method | Description
--- | ---
CreatePartDescriptor | Creates a `NXOpen.Routing.RoutePartDescriptor` object.

# Method Detail

## CreatePartDescriptor

`RoutePartDescriptorCollection.``CreatePartDescriptor`

  Creates a `NXOpen.Routing.RoutePartDescriptor` object.

  Signature `CreatePartDescriptor(descriptorSourceType, descriptorCharxType, title, expression)`

  Parameters:

  - descriptorSourceType (`NXOpen.Routing.RoutePartDescriptorSourceType`) –
  - descriptorCharxType (`NXOpen.Routing.RoutePartDescriptorCharxType`) –
  - title (str) –
  - expression (str) –

  Returns: |
  Return type: | `NXOpen.Routing.RoutePartDescriptor`

  New in version NX4.0.0.

  License requirements: routing_base (“Routing Basic”)