NX Open C++ Reference Guide
Classes | Public Member Functions | List of all members
NXOpen::Routing::PortCollection Class Reference

Represents a collection of Port objects. More...

Inheritance diagram for NXOpen::Routing::PortCollection:
NXOpen::TaggedObjectCollection

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::ExtractPortCreateExtractPort (NXOpen::Routing::Port *port)
 Creates a Routing::ExtractPort .
 
NXOpen::Routing::ExtractPortCreateExtractPort (NXOpen::Routing::Port *port, bool allowMultipleConnections)
 Creates a Routing::ExtractPort .
 
NXOpen::Routing::StockOffsetPortCreateStockOffsetPort (NXOpen::Assemblies::Component *partOccurrence, NXOpen::Routing::Port *portPrototype)
 Create a Stock Offset Port.
 
iterator end ()
 Returns an iterator addressing one past the last element.
 
tag_t Tag () const
 Returns the tag of this object.
 

Detailed Description

Represents a collection of Port objects.


To obtain an instance of this class, refer to Routing::RouteManager

Created in NX4.0.0.

Member Function Documentation

iterator NXOpen::Routing::PortCollection::begin ( )

Returns an iterator addressing the first element.

void NXOpen::Routing::PortCollection::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.


Created in NX6.0.0.

License requirements : routing_base ("Routing Basic")

NXOpen::Routing::ExtractPort* NXOpen::Routing::PortCollection::CreateExtractPort ( NXOpen::Routing::Port port)

Creates a Routing::ExtractPort .

Default allows multiple connections to this port.

Returns
Extracted Port
Created in NX4.0.0.

License requirements : routing_base ("Routing Basic")
Parameters
portPort to extract from
NXOpen::Routing::ExtractPort* NXOpen::Routing::PortCollection::CreateExtractPort ( NXOpen::Routing::Port port,
bool  allowMultipleConnections 
)

Creates a Routing::ExtractPort .

Returns
Extracted Port
Created in NX4.0.0.

License requirements : routing_base ("Routing Basic")
Parameters
portPort to extract from
allowMultipleConnectionsDoes 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.

Returns
The stock offset port in the work part.
Deprecated:
Deprecated in NX8.0.2. Use the Routing::StockOffsetPortCollection::CreateStockOffsetPort on the Routing::StockOffsetPortCollection class instead.


Created in NX7.5.4.

License requirements : routing_base ("Routing Basic")

Parameters
partOccurrenceThe part occurrence from which to create the stock offset port.
portPrototypeThe 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.


The documentation for this class was generated from the following file:
Copyright 2013 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.