NXOpen .NET Reference
12.0.0
|
Represents a collection of NXOpen.Routing.Run objects. More...
Public Member Functions | |
NXOpen.Routing.Run[] | ToArray () |
Returns an array of NXOpen.Routing.Run objects. More... | |
unsafe NXOpen.Routing.Run | CreateRun (string runId, string runType, NXOpen.NXObject[] from, NXOpen.NXObject[] to, NXOpen.NXObject[] member) |
Creates a fully defined NXOpen.Routing.Run object whose "From" item(s), "To" item(s), and "Member" item(s) are assigned to components in the assembly. More... | |
unsafe NXOpen.Routing.Run | CreateRun (string runId, string runType, NXOpen.Routing.CharacteristicList attributes, NXOpen.Routing.RunItem[] fromItems, NXOpen.Routing.RunItem[] toItems, NXOpen.Routing.RunItem[] memberItems) |
Creates a NXOpen.Routing.Run with items that are not assigned to components in the assembly. More... | |
unsafe NXOpen.Routing.Run | CreateRun (string runId, string runType, NXOpen.Routing.CharacteristicList attributes) |
Creates an empty NXOpen.Routing.Run using just a unique Run identifier and a type. More... | |
unsafe NXOpen.NXObject[] | FindPath (NXOpen.NXObject[] source, NXOpen.NXObject[] target) |
Find a run path connecting all input From items to the To items. 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... | |
Represents a collection of NXOpen.Routing.Run objects.
To obtain an instance of this class, refer to NXOpen.Routing.RouteManager
Created in NX4.0.0
unsafe NXOpen.Routing.Run NXOpen.Routing.RunCollection.CreateRun | ( | string | runId, |
string | runType, | ||
NXOpen.NXObject[] | from, | ||
NXOpen.NXObject[] | to, | ||
NXOpen.NXObject[] | member | ||
) |
Creates a fully defined NXOpen.Routing.Run object whose "From" item(s), "To" item(s), and "Member" item(s) are assigned to components in the assembly.
Created in NX4.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
runId | Unique identifier of the Run |
runType | Type of the Run |
from | Array of "From" items. Must be NXOpen.Routing.Port , NXOpen.Routing.Run or NXOpen.Routing.ControlPoint |
to | Array of "To" items. Must be NXOpen.Routing.Port , NXOpen.Routing.Run or NXOpen.Routing.ControlPoint |
member | Array of "Member" items. Must be NXOpen.Assemblies.Component , NXOpen.Routing.ISegment or Routing.Stock |
unsafe NXOpen.Routing.Run NXOpen.Routing.RunCollection.CreateRun | ( | string | runId, |
string | runType, | ||
NXOpen.Routing.CharacteristicList | attributes, | ||
NXOpen.Routing.RunItem[] | fromItems, | ||
NXOpen.Routing.RunItem[] | toItems, | ||
NXOpen.Routing.RunItem[] | memberItems | ||
) |
Creates a NXOpen.Routing.Run with items that are not assigned to components in the assembly.
Created in NX7.5.4
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
runId | Unique identifier of the Run |
runType | Type of the Run |
attributes | Run attributes |
fromItems | Array of "From" items. |
toItems | Array of "To" items. |
memberItems | Array of "Member" items. |
unsafe NXOpen.Routing.Run NXOpen.Routing.RunCollection.CreateRun | ( | string | runId, |
string | runType, | ||
NXOpen.Routing.CharacteristicList | attributes | ||
) |
Creates an empty NXOpen.Routing.Run using just a unique Run identifier and a type.
Created in NX7.5.4
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
runId | Unique identifier of the Run |
runType | Type of the Run |
attributes | Run attributes |
|
protected |
Advances the enumerator to the next element of the collection.
unsafe NXOpen.NXObject [] NXOpen.Routing.RunCollection.FindPath | ( | NXOpen.NXObject[] | source, |
NXOpen.NXObject[] | target | ||
) |
Find a run path connecting all input From items to the To items.
Created in NX8.0.2
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
source | Array of from items. Must be NXOpen.Routing.Port , NXOpen.Routing.Run or NXOpen.Routing.ControlPoint |
target | Array of to items. Must be NXOpen.Routing.Port , NXOpen.Routing.Run or NXOpen.Routing.ControlPoint |
NXOpen.Routing.Run [] NXOpen.Routing.RunCollection.ToArray | ( | ) |
Returns an array of NXOpen.Routing.Run objects.
|
get |
Returns the tag of this object.