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:
Returns:

The stock offset port in the work part.

Return type:

NXOpen.Routing.StockOffsetPort

New in version NX8.0.2.

License requirements: routing_base (“Routing Basic”)