NXOpen .NET Reference
12.0.0
|
Represents a Routing Part library. More...
Classes | |
struct | _Column |
Part table column type. | |
struct | Column |
Part table column type. More... | |
Public Types | |
enum | NodeType { Normal, Table, Part } |
Type of nodes in the part library. More... | |
enum | ColumnType { Integer, Real, String = 4 } |
Type of column values. More... | |
enum | RootType { Top, Stock, Wire, Part } |
Type of root nodes. More... | |
enum | ColumnStatus { NotHidden, Hidden } |
Hidden status of a column. More... | |
Public Member Functions | |
unsafe string | GetRoot () |
Returns the root node of the part library. More... | |
unsafe string | GetFilteredRoot (NXOpen.Preferences.RoutingPartLibrary.RootType rootType) |
Returns the root node of the part library using the current active discipline. More... | |
unsafe string[] | GetChildrenNodes (string parent) |
Returns the children nodes of the input node. More... | |
unsafe NXOpen.Preferences.RoutingPartLibrary.NodeType | GetNodeType (string node) |
Returns the node type. More... | |
unsafe NXOpen.Preferences.RoutingPartLibrary.Column[] | GetTableDefinition (string node) |
Returns the table information for a given NXOpen.Preferences.RoutingPartLibrary.NodeType.Table node. More... | |
unsafe NXOpen.Routing.CharacteristicList | GetPartDefinition (string node) |
Returns the part information for a given NXOpen.Preferences.RoutingPartLibrary.NodeType.Part node. More... | |
unsafe NXOpen.Routing.CharacteristicList | CreateCriteria () |
Creates a new empty NXOpen.Routing.CharacteristicList object that can be used as input to Preferences.RoutingPartLibrary.MatchCriteria and Preferences.RoutingPartLibrary.MatchCriteriaWithFilter . More... | |
unsafe NXOpen.Routing.CharacteristicList[] | MatchCriteria (string startNode, NXOpen.Routing.CharacteristicList criteria) |
Search for entries in the part library table nodes that match the given set of criteria. More... | |
unsafe NXOpen.Routing.CharacteristicList[] | MatchCriteriaWithFilter (string startNode, NXOpen.Routing.CharacteristicList criteria) |
Similar to Preferences.RoutingPartLibrary.MatchCriteria , however it also filters out any parts that don't match the critiera specified by the current specification. More... | |
unsafe bool | FilterOnCurrentSpecifications (NXOpen.Routing.CharacteristicList match, string[] partClasses) |
Does a characteristic list match the current discipline and specifications? More... | |
Properties | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
Represents a Routing Part library.
To obtain an instance of this class, refer to NXOpen.Preferences.RoutingPart
Created in NX4.0.0
unsafe NXOpen.Routing.CharacteristicList NXOpen.Preferences.RoutingPartLibrary.CreateCriteria | ( | ) |
Creates a new empty NXOpen.Routing.CharacteristicList object that can be used as input to Preferences.RoutingPartLibrary.MatchCriteria and Preferences.RoutingPartLibrary.MatchCriteriaWithFilter .
Created in NX4.0.0
License requirements: routing_base ("Routing Basic")
unsafe bool NXOpen.Preferences.RoutingPartLibrary.FilterOnCurrentSpecifications | ( | NXOpen.Routing.CharacteristicList | match, |
string[] | partClasses | ||
) |
Does a characteristic list match the current discipline and specifications?
Created in NX4.0.0
License requirements: routing_base ("Routing Basic")
match | The matching part's Characteristic List to check against the current discipline and specifications. |
partClasses | The part class hierarchy list that contains the matching part. The first item in the list is the top node name. The last item in the list is the lowest node that contains the matching part. |
unsafe string [] NXOpen.Preferences.RoutingPartLibrary.GetChildrenNodes | ( | string | parent | ) |
Returns the children nodes of the input node.
Created in NX4.0.0
License requirements: routing_base ("Routing Basic")
parent |
unsafe string NXOpen.Preferences.RoutingPartLibrary.GetFilteredRoot | ( | NXOpen.Preferences.RoutingPartLibrary.RootType | rootType | ) |
Returns the root node of the part library using the current active discipline.
Returns a null reference (Nothing in Visual Basic) if there is no root node.
Created in NX4.0.0
License requirements: routing_base ("Routing Basic")
rootType | Which root node to find. |
unsafe NXOpen.Preferences.RoutingPartLibrary.NodeType NXOpen.Preferences.RoutingPartLibrary.GetNodeType | ( | string | node | ) |
Returns the node type.
Created in NX4.0.0
License requirements: routing_base ("Routing Basic")
node |
unsafe NXOpen.Routing.CharacteristicList NXOpen.Preferences.RoutingPartLibrary.GetPartDefinition | ( | string | node | ) |
Returns the part information for a given NXOpen.Preferences.RoutingPartLibrary.NodeType.Part node.
Created in NX4.0.0
License requirements: routing_base ("Routing Basic")
node | Must be a NXOpen.Preferences.RoutingPartLibrary.NodeType.Part type node, any other node type causes an exception. |
unsafe string NXOpen.Preferences.RoutingPartLibrary.GetRoot | ( | ) |
Returns the root node of the part library.
Returns a null reference (Nothing in Visual Basic) if there is no root node.
Created in NX4.0.0
License requirements: routing_base ("Routing Basic")
unsafe NXOpen.Preferences.RoutingPartLibrary.Column [] NXOpen.Preferences.RoutingPartLibrary.GetTableDefinition | ( | string | node | ) |
Returns the table information for a given NXOpen.Preferences.RoutingPartLibrary.NodeType.Table node.
Created in NX4.0.0
License requirements: routing_base ("Routing Basic")
node | Must be a NXOpen.Preferences.RoutingPartLibrary.NodeType.Table type node, any other node type causes an exception. |
unsafe NXOpen.Routing.CharacteristicList [] NXOpen.Preferences.RoutingPartLibrary.MatchCriteria | ( | string | startNode, |
NXOpen.Routing.CharacteristicList | criteria | ||
) |
Search for entries in the part library table nodes that match the given set of criteria.
Returns an array of NXOpen.Routing.CharacteristicList objects that can be used for assigning stock or placing parts. Searches all nodes at or below the input node for matches.
Performs matches on the name/value pairs in the input critiera, to the column name column values in the part tables below the input node. Ignores names in the input critiera that don't have a corresonding column in the part for matching.
Created in NX4.0.0
License requirements: routing_base ("Routing Basic")
startNode | Must not be a NXOpen.Preferences.RoutingPartLibrary.NodeType.Part node. |
criteria |
unsafe NXOpen.Routing.CharacteristicList [] NXOpen.Preferences.RoutingPartLibrary.MatchCriteriaWithFilter | ( | string | startNode, |
NXOpen.Routing.CharacteristicList | criteria | ||
) |
Similar to Preferences.RoutingPartLibrary.MatchCriteria , however it also filters out any parts that don't match the critiera specified by the current specification.
Created in NX4.0.0
License requirements: routing_base ("Routing Basic")
startNode | Must not be a NXOpen.Preferences.RoutingPartLibrary.NodeType.Part node. |
criteria |
|
get |
Returns the tag of this object.