StockOffsetPortCollection Class¶
-
class
NXOpen.Routing.
StockOffsetPortCollection
¶ Bases:
object
Represents a collection of
NXOpen.Routing.StockOffsetPort
objects.To obtain an instance of this class, refer to
NXOpen.Routing.RouteManager
New in version NX8.0.2.
Methods¶
Method | Description |
---|---|
CreateStockOffsetPort | Creates a NXOpen.Routing.StockOffsetPort in the work part from the stock offset port in the given part occurrence. |
Method Detail¶
CreateStockOffsetPort¶
-
StockOffsetPortCollection.
CreateStockOffsetPort
¶ Creates a
NXOpen.Routing.StockOffsetPort
in the work part from the stock offset port in the given part occurrence.Returns the existing stock offset port in the work part if one already exists.
Signature
CreateStockOffsetPort(partOccurrence, portPrototype)
Parameters: - partOccurrence (
NXOpen.Assemblies.Component
) – The part occurrence from which to create the stock offset port. - portPrototype (
NXOpen.Routing.Port
) – The prototype of the stock offset port in the part occurrence.
Returns: The stock offset port in the work part.
Return type: New in version NX8.0.2.
License requirements: routing_base (“Routing Basic”)
- partOccurrence (