NX Open C++ Reference Guide
|
Represents a collection of Port objects. More...
Classes | |
class | iterator |
Iterator for accessing the contents of the collection. More... | |
Public Member Functions | |
iterator | begin () |
Returns an iterator addressing the first element. | |
void | ConvertToFeatures () |
Cycles through all the Routing::Port objects and creates a Routing::FeaturePort object for Routing::FittingPort object, Routing::FixturePort object, Routing::MultiPort object, and Routing::TerminalPort object. | |
NXOpen::Routing::ExtractPort * | CreateExtractPort (NXOpen::Routing::Port *port) |
Creates a Routing::ExtractPort . | |
NXOpen::Routing::ExtractPort * | CreateExtractPort (NXOpen::Routing::Port *port, bool allowMultipleConnections) |
Creates a Routing::ExtractPort . | |
NXOpen::Routing::StockOffsetPort * | CreateStockOffsetPort (NXOpen::Assemblies::Component *partOccurrence, NXOpen::Routing::Port *portPrototype) |
Creates a Routing::StockOffsetPort in the work part from the stock offset port in the given part occurrence. | |
iterator | end () |
Returns an iterator addressing one past the last element. | |
tag_t | Tag () const |
Returns the tag of this object. |
Represents a collection of Port objects.
To obtain an instance of this class, refer to Routing::RouteManager
Created in NX4.0.0.
Returns an iterator addressing the first element.
Cycles through all the Routing::Port objects and creates a Routing::FeaturePort object for Routing::FittingPort object, Routing::FixturePort object, Routing::MultiPort object, and Routing::TerminalPort object.
Created in NX6.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
NXOpen::Routing::ExtractPort* NXOpen::Routing::PortCollection::CreateExtractPort | ( | NXOpen::Routing::Port * | port | ) |
Creates a Routing::ExtractPort .
Default allows multiple connections to this port.
port | Port to extract from |
NXOpen::Routing::ExtractPort* NXOpen::Routing::PortCollection::CreateExtractPort | ( | NXOpen::Routing::Port * | port, |
bool | allowMultipleConnections | ||
) |
Creates a Routing::ExtractPort .
port | Port to extract from |
allowMultipleConnections | Does this fitting port allow multiple wires to be routed to it? |
NXOpen::Routing::StockOffsetPort* NXOpen::Routing::PortCollection::CreateStockOffsetPort | ( | NXOpen::Assemblies::Component * | partOccurrence, |
NXOpen::Routing::Port * | portPrototype | ||
) |
Creates a 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.
partOccurrence | The part occurrence from which to create the stock offset port. |
portPrototype | The prototype of the stock offset port in the part occurrence. |
Returns an iterator addressing one past the last element.
tag_t NXOpen::Routing::PortCollection::Tag | ( | ) | const |
Returns the tag of this object.