WireCollection Class¶
-
class
NXOpen.Routing.
WireCollection
¶ Bases:
object
The Routing Wire object is a list of segments in a route and some stock.
It also contains the beginning and ending control point for the path.
To obtain an instance of this class, refer to
NXOpen.Routing.RouteManager
New in version NX4.0.0.
Methods¶
Method | Description |
---|---|
CreateWire | Creates a wire object. |
Method Detail¶
CreateWire¶
-
WireCollection.
CreateWire
¶ Creates a wire object.
Signature
CreateWire(startControlPoint, endControlPoint, segments, stockData, stocks, lengthOfWire)
Parameters: - startControlPoint (
NXOpen.Routing.ControlPoint
) – start of the path - endControlPoint (
NXOpen.Routing.ControlPoint
) – end of the path - segments (list of
NXOpen.Routing.ISegment
) – The list of segments this wire is following. - stockData (
NXOpen.Routing.StockData
) – - stocks (list of
NXOpen.Routing.Stock
) – Stock bodies that cover the segments. Can be none and the system will generate them. - lengthOfWire (float) –
Returns: Return type: New in version NX4.0.0.
License requirements: routing_advanced (“Routing Advanced”), routing_base (“Routing Basic”)
- startControlPoint (