NXOpen .NET Reference  12.0.0
Public Types | Public Member Functions | Protected Member Functions | Properties | List of all members
NXOpen.Routing.PortConnectionCollection Class Reference

Represents a collection of NXOpen.Routing.PortConnection objects. More...

Inheritance diagram for NXOpen.Routing.PortConnectionCollection:

Public Types

enum  PortsStatus { CanConnect, CannotConnect }
 Option to check if two ports can be connected by creating a NXOpen.Routing.PortConnection object. More...
 

Public Member Functions

NXOpen.Routing.PortConnection[] ToArray ()
 Returns an array of NXOpen.Routing.PortConnection objects. More...
 
unsafe
NXOpen.Routing.PortConnection 
CreatePortConnection (NXOpen.Routing.Port port1, NXOpen.Routing.Port port2)
 Creates a NXOpen.Routing.PortConnection object. More...
 
unsafe
NXOpen.Routing.PortConnectionCollection.PortsStatus 
CanPortsConnect (NXOpen.Routing.Port port1, NXOpen.Routing.Port port2)
 Determines if the two ports can be connected using a NXOpen.Routing.PortConnection object. More...
 
unsafe
NXOpen.Routing.PortConnection 
GetConnectionFromPort (NXOpen.Routing.Port port)
 Returns the NXOpen.Routing.PortConnection the given part participates in, if any. More...
 

Protected Member Functions

override int EnumerateMoveNext (ref Tag currentTag, byte[] state)
 Advances the enumerator to the next element of the collection. More...
 

Properties

Tag Tag [get]
 Returns the tag of this object. More...
 

Detailed Description

Represents a collection of NXOpen.Routing.PortConnection objects.

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

Created in NX4.0.0

Member Enumeration Documentation

Option to check if two ports can be connected by creating a NXOpen.Routing.PortConnection object.

Enumerator
CanConnect 

The Ports can be connected using Port Connection object.

CannotConnect 

The Ports cannot be connected using Port Connection object.

Member Function Documentation

unsafe NXOpen.Routing.PortConnectionCollection.PortsStatus NXOpen.Routing.PortConnectionCollection.CanPortsConnect ( NXOpen.Routing.Port  port1,
NXOpen.Routing.Port  port2 
)

Determines if the two ports can be connected using a NXOpen.Routing.PortConnection object.

Created in NX4.0.0

License requirements: routing_base ("Routing Basic")

Parameters
port1first Port to be connected by the Port Connection object
port2second Port to be connected by the Port Connection object
Returns
unsafe NXOpen.Routing.PortConnection NXOpen.Routing.PortConnectionCollection.CreatePortConnection ( NXOpen.Routing.Port  port1,
NXOpen.Routing.Port  port2 
)

Creates a NXOpen.Routing.PortConnection object.

Created in NX4.0.0

License requirements: routing_base ("Routing Basic")

Parameters
port1first Port to be connected by the Port Connection object
port2second Port to be connected by the Port Connection object
Returns
override int NXOpen.Routing.PortConnectionCollection.EnumerateMoveNext ( ref Tag  currentTag,
byte[]  state 
)
protected

Advances the enumerator to the next element of the collection.

unsafe NXOpen.Routing.PortConnection NXOpen.Routing.PortConnectionCollection.GetConnectionFromPort ( NXOpen.Routing.Port  port)

Returns the NXOpen.Routing.PortConnection the given part participates in, if any.

Created in NX11.0.0

License requirements: routing_base ("Routing Basic")

Parameters
port
Returns
NXOpen.Routing.PortConnection [] NXOpen.Routing.PortConnectionCollection.ToArray ( )

Returns an array of NXOpen.Routing.PortConnection objects.

Property Documentation

Tag NXOpen.Routing.PortConnectionCollection.Tag
get

Returns the tag of this object.


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