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

Represents a collection of Port objects. More...

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

List of all members.

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)
 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.

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

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")

Creates a Routing::ExtractPort .

Default allows multiple connections to this port.

Returns:
Extracted Port
Created in NX4.0.0.

License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
Parameters:
portPort to extract from

Creates a Routing::ExtractPort .

Returns:
Extracted Port
Created in NX4.0.0.

License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
Parameters:
portPort to extract from
allowMultipleConnectionsDoes this fitting port allow multiple wires to be routed to it?

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.

Returns:
The stock offset port in the work part.
Created in NX7.5.4.

License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
Parameters:
partOccurrenceThe part occurrence from which to create the stock offset port.
portPrototypeThe prototype of the stock offset port in the part occurrence.

Returns an iterator addressing one past the last element.

Returns the tag of this object.


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