NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
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:
NXOpen.TaggedObjectCollection NXOpen.Utilities.NXRemotableObject IEnumerable IMessageSink

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

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 
CreatePortConnection (NXOpen.Routing.Port port1, NXOpen.Routing.Port port2)
 Creates 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...
 
NXOpen.Routing.PortConnection[] ToArray ()
 Returns an array of NXOpen.Routing.PortConnection objects. More...
 
- Public Member Functions inherited from NXOpen.TaggedObjectCollection
IEnumerator GetEnumerator ()
 Returns an enumerator that iterates through a collection. More...
 
- Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject
IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
 Asynchronously processes the given message. More...
 
IMessage SyncProcessMessage (IMessage msg)
 Synchronously processes the given message. More...
 

Protected Member Functions

override int EnumerateMoveNext (ref Tag currentTag, byte[] state)
 Advances the enumerator to the next element of the collection. More...
 
- Protected Member Functions inherited from NXOpen.TaggedObjectCollection
new void initialize ()
 <exclude> More...
 
- Protected Member Functions inherited from NXOpen.Utilities.NXRemotableObject
void initialize ()
 <exclude> 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 
)
inline

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

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

Advances the enumerator to the next element of the collection.

Implements NXOpen.TaggedObjectCollection.

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

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 ( )
inline

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 2019 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.