RouteObjectCollector Class — NXOpen Python API Reference 12.0.0 documentation

# RouteObjectCollector Class

class `NXOpen.Routing.``RouteObjectCollector`

  Bases: `NXOpen.TaggedObject`, `NXOpen.GeometricUtilities.IComponentBuilder`

  Represents a `NXOpen.Routing.RouteObjectCollector` class to create objects for getting routing objects.

  New in version NX6.0.0.

# Properties

Property | Description
--- | ---
RoutingObjects | Returns the selected routing object list
Tag | Returns the Tag for this object.

# Methods

Method | Description
--- | ---
Validate | Validate whether the inputs to the component are sufficient for commit to be called.

# Property Detail

## RoutingObjects

`RouteObjectCollector.``RoutingObjects`

  Returns the selected routing object list

  `-------------------------------------`

  Getter Method

  Signature `RoutingObjects`

  Returns: |
  Return type: | `NXOpen.SelectNXObjectList`

  New in version NX6.0.0.

  License requirements: routing_base (“Routing Basic”)

# Method Detail

## Validate

`RouteObjectCollector.``Validate`

  Validate whether the inputs to the component are sufficient for commit to be called.

  If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.

  Signature `Validate()`

  Returns: | Was self validation successful
  Return type: | bool

  New in version NX3.0.1.

  License requirements: None.