Click or drag to resize

RoutingCollection Class

A collection of IHasTrimmedCurve objects which make up cable routing.
Inheritance Hierarchy
SystemObject
  ema3d.Api.V25.CablingRoutingCollection

Namespace: ema3d.Api.V25.Cabling
Assembly: ema3d.Api.V25 (in ema3d.Api.V25.dll) Version: 0.0.0.0
Syntax
public sealed class RoutingCollection

The RoutingCollection type exposes the following members.

Constructors
 NameDescription
Public methodRoutingCollection Create a new RoutingCollection,
Top
Properties
 NameDescription
Public propertyParent Gets the parent cable this routing is attached to.
Public propertySegments Gets the segments this routing collection contains.
Top
Methods
 NameDescription
Public methodContainsSegment Returns whether this routing contains a given segment.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Example
Python
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
See Also