Routing |
The RoutingCollection type exposes the following members.
| Name | Description | |
|---|---|---|
| RoutingCollection | Create a new RoutingCollection, |
| Name | Description | |
|---|---|---|
| Parent | Gets the parent cable this routing is attached to. | |
| Segments | Gets the segments this routing collection contains. |
| Name | Description | |
|---|---|---|
| ContainsSegment | Returns whether this routing contains a given segment. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
from ema3d.Api.V25.Cabling import RoutingCollection as RoutingCollection # Get routing from an IAPICable _routing = apicable.Routing _segments = _routing.Segments # Get segments within routing _has_curve = _routing.ContainsSegment(trimmed_curve) # Test if trimmed_curve is in the routing