NX Open C++ Reference Guide
|
Represents a collection of NXOpen::Routing::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. More... | |
void | ConvertToFeatures () |
Cycles through all the NXOpen::Routing::Port objects and creates a NXOpen::Routing::FeaturePort object for NXOpen::Routing::FittingPort object, NXOpen::Routing::FixturePort object, NXOpen::Routing::MultiPort object, and NXOpen::Routing::TerminalPort object. More... | |
NXOpen::Routing::ExtractPort * | CreateExtractPort (NXOpen::Routing::Port *port) |
Creates a NXOpen::Routing::ExtractPort . More... | |
NXOpen::Routing::ExtractPort * | CreateExtractPort (NXOpen::Routing::Port *port, bool allowMultipleConnections) |
Creates a NXOpen::Routing::ExtractPort . More... | |
NXOpen::Routing::StockOffsetPort * | CreateStockOffsetPort (NXOpen::Assemblies::Component *partOccurrence, NXOpen::Routing::Port *portPrototype) |
Create a Stock Offset Port. More... | |
iterator | end () |
Returns an iterator addressing one past the last element. More... | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
Represents a collection of NXOpen::Routing::Port objects.
Iterating this collection only returns live uncondemned objects contained in the owning part of the collection. Note that NXOpen::Routing::Port is a smart object and many smart objects are condemned as they only exist to support other objects and are not displayed. Condemned objects will be deleted when their references go away.
To obtain an instance of this class, refer to NXOpen::Routing::RouteManager
Created in NX4.0.0.
iterator NXOpen::Routing::PortCollection::begin | ( | ) |
Returns an iterator addressing the first element.
void NXOpen::Routing::PortCollection::ConvertToFeatures | ( | ) |
Cycles through all the NXOpen::Routing::Port objects and creates a NXOpen::Routing::FeaturePort object for NXOpen::Routing::FittingPort object, NXOpen::Routing::FixturePort object, NXOpen::Routing::MultiPort object, and NXOpen::Routing::TerminalPort object.
Created in NX6.0.0.
License requirements : routing_base ("Routing Basic")
NXOpen::Routing::ExtractPort* NXOpen::Routing::PortCollection::CreateExtractPort | ( | NXOpen::Routing::Port * | port | ) |
Creates a NXOpen::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 NXOpen::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 | ||
) |
Create a Stock Offset Port.
Created in NX7.5.4.
License requirements : routing_base ("Routing Basic")
partOccurrence | The part occurrence from which to create the stock offset port. |
portPrototype | The prototype of the stock offset port in the part occurrence. |
iterator NXOpen::Routing::PortCollection::end | ( | ) |
Returns an iterator addressing one past the last element.
tag_t NXOpen::Routing::PortCollection::Tag | ( | ) | const |
Returns the tag of this object.