NXOpen .NET Reference Guide
1899
|
Represents a NXOpen.Routing.ReuseLibrary More...
Public Types | |
enum | PartType { Gasket, Bolt, Stud, Nut, Washer, Weldring, Ringjoint, Unknown = -1 } |
Represents the part type. More... | |
enum | ReportInBom { DoNotReport, Report } |
Represents the report in BOM logical type. More... | |
Public Member Functions | |
unsafe void | AddNewSpecification (string specName) |
Adds a new empty specification to the library. More... | |
unsafe void | DeleteSpecification (string specName) |
Delete a Specification from the reuse library. More... | |
unsafe NXOpen.Routing.CharacteristicList[] | GetMatchingParts (string startingIdentifier, NXOpen.Routing.CharacteristicList searchCriteria) |
Query the reuse library for all parts that match the given search criteria. More... | |
unsafe void | PartLibraryGetChildNodes (string nodeIdentifier, out string[] childIdentifiers, out string[] names) |
Given an identifier, this routine returns it's child identifiers. More... | |
unsafe void | PartLibraryGetDisciplineRoots (out string[] identifiers, out string[] names) |
Returns the identifiers which represent the start nodes for the current discipline. More... | |
unsafe NXOpen.Routing.CharacteristicList | PartLibraryGetPartsAtNode (string nodeIdentifier) |
Given a node identifier, this routine will return all parts associated with that node. More... | |
unsafe void | Reload () |
Reloads all of the nodes of the Routing Reuse Library based on the current discipline. More... | |
unsafe void | ReloadSpecification (string specName) |
Reload a Specification into the reuse library. More... | |
unsafe void | ReloadSpecifications (bool forceReload) |
Reload Specifications into the reuse library. More... | |
unsafe void | SpecificationInitializeManager (string specName, bool isEditFlag) |
Initializes the specification builder. More... | |
unsafe void | SpecificationsAddConnectionCompatibility (string specName, string connectionTypeOne, string connectionTypeTwo) |
Adds a connection compatibility to the specification. More... | |
unsafe void | SpecificationsAddGenericPostPlacement (string specName, string placedPartIdentifier, string postPlacementIdentifier, string[] searchAttributes) |
Add a generic post placmeent rule. More... | |
unsafe void | SpecificationsClearGenericPostPlacements (string specificationName) |
Clear the generic post placement specification. More... | |
unsafe void | SpecificationsDefinePostPlacementRules (string specName, NXOpen.Routing.ReuseLibrary.PartType partType, string startingIdentifier, string[] searchAttributes) |
Defines Post Placement rules. More... | |
unsafe void | SpecificationsDestroyManager () |
Clear Specification Manager. More... | |
unsafe NXOpen.Routing.CharacteristicList | SpecificationsGetAttributeRelationships (string specName, string nodeIdentifier, out int numFilters) |
Gets the attribute relationships at a given library node. More... | |
unsafe void | SpecificationsGetBranchTable (string specName, out double[] npsValues, out double[] npsBranchValues) |
Gets the branch compatibilities for the input specification. More... | |
unsafe void | SpecificationsGetConnectionCompatibilities (string specName, out string[] connectionTypesOne, out string[] connectionTypesTwo) |
Get the list of connection compatibilities from the specificaiton. More... | |
unsafe void | SpecificationsGetConnectionPostPlacement (string specName, string connectionTypeOne, string connectionTypeTwo, out bool gasket, out bool bolt, out bool stud, out bool nut, out bool washers, out bool weldRing, out bool ringJoints) |
Get post placement options for a given connection. More... | |
unsafe string | SpecificationsGetCurrent () |
Returns the name of the current specification. More... | |
unsafe string | SpecificationsGetDescription (string specName) |
Gets the description of a specification. More... | |
unsafe void | SpecificationsGetDisciplineSpecifications (out string[] specs) |
Returns the names of all of the specifications that are defined for the current discipline. More... | |
unsafe void | SpecificationsGetGeneralConnectionOptions (string specName, out bool modelGaskets, out bool modelWeldGaps, out double additionalBoltLength, out double additionalStudLength, out double weldGapValue) |
Gets the general connection options. More... | |
unsafe void | SpecificationsGetGenericPostPlacements (string specName, out string[] placedPartIdentifier, out string[] postPlacementIdentifier) |
Gets the defined generic post placement rules. More... | |
unsafe void | SpecificationsGetGenericPostPlacementSearchAttributes (string specName, string placedPartIdentifier, string postPlacementIdentifier, out string[] searchAttributes) |
Get the generic post placement search attributes. More... | |
unsafe void | SpecificationsGetPostPlacementRules (string specName, NXOpen.Routing.ReuseLibrary.PartType partType, out string startingIdentifier, out string[] searchAttributes) |
Gets post placement rules. More... | |
unsafe void | SpecificationsGetReportInBom (string specName, out bool gasket, out bool bolt, out bool stud, out bool nut, out bool washers, out bool weldRing, out bool ringJoints, out bool weldGap) |
Gets the Report in BOM flags. More... | |
unsafe void | SpecificationsRemoveAttribute (string specificationName, string connectionTypeOne) |
Removes the attribute of given connection type in conncetion compatibility table of a specification More... | |
unsafe void | SpecificationsRemoveAttributeRelationships (string specificationName, int index) |
Remove the attribute relationships for a specification at a given index. More... | |
unsafe void | SpecificationsRemoveBranchCompatibility (string specName, double nps, double npsBranch) |
Removes a branch compatibility More... | |
unsafe void | SpecificationsRemoveConnectionCompatibility (string specName, string connectionTypeOne, string connectionTypeTwo) |
Removes a connection compatibility from the specification. More... | |
unsafe void | SpecificationsRemoveGenericPostPlacement (string specName, string placedPartIdentifier, string postPlacementIdentifier) |
Remove a generic post placement option. More... | |
unsafe void | SpecificationsSetAdditionalConnectionOptions (string specName, bool modelGaskets, double additionalBoltLength, double additionalStudLength) |
Sets the Additional Connection Options. More... | |
unsafe void | SpecificationsSetAttributeRelationships (string specName, string nodeIdentifier, NXOpen.Routing.CharacteristicList attributeFilter) |
Sets the attribute relationships for a specification. More... | |
unsafe void | SpecificationsSetBranchCompatibility (string specName, double nps, double npsBranch) |
Sets a branch compatibility. More... | |
unsafe void | SpecificationsSetConnectionPostPlacement (string specName, string connectionTypeOne, string connectionTypeTwo, bool gasket, bool bolt, bool stud, bool nut, bool washers, bool weldRing, bool ringJoints) |
Set Connection post placement rules on a valid connection. More... | |
unsafe void | SpecificationsSetDescription (string specName, string description) |
Sets the description text for a specification. More... | |
unsafe void | SpecificationsSetDiscipline (string specificationName, string discipline) |
Set the discipline for a specification More... | |
unsafe void | SpecificationsSetGeneralConnectionOptions (string specName, bool modelGaskets, bool modelWeldGaps, double additionalBoltLength, double additionalStudLength, double weldGapValue) |
Sets the General Connection Options. More... | |
unsafe void | SpecificationsSetPostPlacementReportInBom (string specName, bool gasket, bool bolt, bool stud, bool nut, bool washers, bool ringJoints) |
Sets the post placement report in BOM flags. More... | |
unsafe void | SpecificationsSetReportInBom (string specName, bool gasket, bool bolt, bool stud, bool nut, bool washers, bool weldRing, bool ringJoints, bool weldGap) |
Sets the report in BOM flags. More... | |
unsafe void | SpecificationsTogglePostPlacementOption (string specificationName, string connectionTypeOne, string connectionTypeTwo, NXOpen.Routing.ReuseLibrary.PartType partType) |
Toggles the post placement option of given connection type of a specification More... | |
unsafe void | SpecificationsUpdateAttributeRelationship (string specificationName, string nodeIdentifier, int index, string title, string value) |
Update the attribute relationship for a specification at a given index. 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... | |
Properties | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
Properties inherited from NXOpen.Utilities.NXRemotableObject | |
IMessageSink | NextSink [get] |
Gets the next message sink in the sink chain. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from NXOpen.Utilities.NXRemotableObject | |
void | initialize () |
<exclude> More... | |
|
inline |
Adds a new empty specification to the library.
The input name can be used to configure the specification once it has been added.
Created in NX8.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specName | The name of the new specification. |
|
inline |
Delete a Specification from the reuse library.
Created in NX9.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specName | Specification Name |
|
inline |
Query the reuse library for all parts that match the given search criteria.
The search will include the given node and all of its children.
Created in NX8.5.3
License requirements: routing_base ("Routing Basic")
startingIdentifier | Node from which to begin the search. |
searchCriteria | Search Criteria |
|
inline |
Given an identifier, this routine returns it's child identifiers.
Created in NX8.0.0
License requirements: routing_base ("Routing Basic")
nodeIdentifier | A part library node identifier. |
childIdentifiers | The child node identifiers. |
names | The discipline start node identifiers. |
|
inline |
Returns the identifiers which represent the start nodes for the current discipline.
Created in NX8.0.0
License requirements: routing_base ("Routing Basic")
identifiers | The discipline start node identifiers. |
names | The discipline start node identifiers. |
|
inline |
Given a node identifier, this routine will return all parts associated with that node.
Created in NX8.0.0
License requirements: routing_base ("Routing Basic")
nodeIdentifier | A part library node identifier. |
|
inline |
Reloads all of the nodes of the Routing Reuse Library based on the current discipline.
Created in NX7.5.3
License requirements: routing_base ("Routing Basic")
|
inline |
Reload a Specification into the reuse library.
Created in NX9.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specName | Specification Name |
|
inline |
Reload Specifications into the reuse library.
Created in NX9.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
forceReload | Should the specifications be forced to reload? Setting forceReload false will reload only if there are no (non-legacy) specifications loaded in the reuse library. |
|
inline |
Initializes the specification builder.
isEditFlag needs to set true to edit the existing specification.
Created in NX1847.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specName | Set name of the new specification else it's default value is empty string. |
isEditFlag | Set the flag to true to edit the existing specification else set the value to false to create specification. |
|
inline |
Adds a connection compatibility to the specification.
Created in NX8.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specName | The name of the specification. |
connectionTypeOne | Value of the first CONNECTION_TYPE attribute. |
connectionTypeTwo | Value of the second CONNECTION_TYPE attribute. |
|
inline |
Add a generic post placmeent rule.
Created in NX8.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specName | Specification Name |
placedPartIdentifier | The placed part node identifier. |
postPlacementIdentifier | The post placement part identifier. |
searchAttributes | Attribute search titles. |
|
inline |
Clear the generic post placement specification.
Created in NX1847.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specificationName | Specification Name |
|
inline |
Defines Post Placement rules.
Created in NX8.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specName | Specification Name. |
partType | Post Placement Type |
startingIdentifier | Library Node to search from. |
searchAttributes | Search Attribute Titles. |
|
inline |
Clear Specification Manager.
Created in NX1847.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
|
inline |
Gets the attribute relationships at a given library node.
Created in NX8.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specName | The name of the specification. |
nodeIdentifier | A part library node identifier. |
numFilters |
|
inline |
Gets the branch compatibilities for the input specification.
Compatibilities can be identified by indexing into the NPSValues and NPS_BRANCHValues arrays. Index 0 in each array is a compatibility and so on.
Created in NX8.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specName | The name of the specification. |
npsValues | The NPS Values. |
npsBranchValues | The NPS_BRANCH values. |
|
inline |
Get the list of connection compatibilities from the specificaiton.
Created in NX8.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specName | Specification name. |
connectionTypesOne | Values for the first CONNECTION_TYPE attribute. |
connectionTypesTwo | Values for the second CONNECTION_TYPE attribute. |
|
inline |
Get post placement options for a given connection.
Created in NX8.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specName | Specification name. |
connectionTypeOne | The first CONNECTION_TYPE value. |
connectionTypeTwo | The second CONNECTION_TYPE value. |
gasket | Whether or not to place Gaskets for this connection. |
bolt | Whether or not to place Bolts for this connection. |
stud | Whether or not to place Studs for this connection. |
nut | Whether or not to place Nuts for this connection. |
washers | Whether or not to place Washers for this connection. |
weldRing | Whether or not to place Weld Rings for this connection. |
ringJoints |
|
inline |
Returns the name of the current specification.
Created in NX8.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
|
inline |
Gets the description of a specification.
Created in NX8.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specName | The name of the specification. |
|
inline |
Returns the names of all of the specifications that are defined for the current discipline.
Created in NX8.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specs | Specification names. |
|
inline |
Gets the general connection options.
Created in NX8.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specName | Specification Name |
modelGaskets | Whether or not to model Gaskets |
modelWeldGaps | Whether or not to model Weld Gaps |
additionalBoltLength | Additional length for bolts. |
additionalStudLength | Additional length for studs |
weldGapValue |
|
inline |
Gets the defined generic post placement rules.
Created in NX8.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specName | Specification Name. |
placedPartIdentifier | The list of placed part node identifiers |
postPlacementIdentifier | The list of post placement node identifiers. |
|
inline |
Get the generic post placement search attributes.
Created in NX8.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specName | Specification Name |
placedPartIdentifier | Placed part node identifier. |
postPlacementIdentifier | Post placement node identifier |
searchAttributes | Attribute search titles. |
|
inline |
Gets post placement rules.
Created in NX8.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specName | Specification name. |
partType | Part Type. |
startingIdentifier | Library node to begin searching from. |
searchAttributes | Search Attribute Titles. |
|
inline |
Gets the Report in BOM flags.
Created in NX8.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specName | Specification Name |
gasket | Report Gaskets |
bolt | Report Bolts |
stud | Report Studs |
nut | Report Nuts |
washers | Report Washers |
weldRing | Report Weld Rings |
ringJoints | Report Ring Joints |
weldGap |
|
inline |
Removes the attribute of given connection type in conncetion compatibility table of a specification
Created in NX1847.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specificationName | Specification Name |
connectionTypeOne | Value of the first CONNECTION_TYPE attribute. |
|
inline |
Remove the attribute relationships for a specification at a given index.
Created in NX1847.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specificationName | Specification Name |
index | Remove the attribute relationship at given index value in attribute relationship list of the specification. |
|
inline |
Removes a branch compatibility
Created in NX8.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specName | The name of the specification. |
nps | NPS Value |
npsBranch | NPS_BRANCH value |
|
inline |
Removes a connection compatibility from the specification.
Created in NX8.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specName | Name of the specification. |
connectionTypeOne | Value of the first CONNECTION_TYPE attribute. |
connectionTypeTwo | Value of the second CONNECTION_TYPE attribute. |
|
inline |
Remove a generic post placement option.
Created in NX8.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specName | Specification Name |
placedPartIdentifier | Placed part node identifier. |
postPlacementIdentifier |
|
inline |
Sets the Additional Connection Options.
Created in NX1847.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specName | Specification Name |
modelGaskets | Whether or not to model Gaskets |
additionalBoltLength | Additional length to add to bolts |
additionalStudLength |
|
inline |
Sets the attribute relationships for a specification.
Created in NX8.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specName | The name of the specification. |
nodeIdentifier | A part library node identifier. |
attributeFilter | Unused |
|
inline |
Sets a branch compatibility.
Created in NX8.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specName | The name of the specification. |
nps | NPS Value |
npsBranch | NPS_BRANCH Vale |
|
inline |
Set Connection post placement rules on a valid connection.
Created in NX8.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specName | Specification name. |
connectionTypeOne | The first CONNECTION_TYPE value. |
connectionTypeTwo | The second CONNECTION_TYPE value. |
gasket | Whether or not to place Gaskets for this connection. |
bolt | Whether or not to place Bolts for this connection. |
stud | Whether or not to place Studs for this connection. |
nut | Whether or not to place Nuts for this connection. |
washers | Whether or not to place Washers for this connection. |
weldRing | Whether or not to place Weld Rings for this connection. |
ringJoints |
|
inline |
Sets the description text for a specification.
Created in NX8.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specName | The name of the specification. |
description | The description to add. |
|
inline |
Set the discipline for a specification
Created in NX1847.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specificationName | Specification Name |
discipline | The discipline to add to specification. |
|
inline |
Sets the General Connection Options.
Created in NX8.0.0
Deprecated in NX1847.0.0. Use Routing.ReuseLibrary.SpecificationsSetAdditionalConnectionOptions instead.
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specName | Specification Name |
modelGaskets | Whether or not to model Gaskets |
modelWeldGaps | Whether or not to model weld gaps. |
additionalBoltLength | Additional length to add to bolts |
additionalStudLength | Additional length to add to studs |
weldGapValue |
|
inline |
Sets the post placement report in BOM flags.
Created in NX1847.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specName | Spec Name |
gasket | Report Gaskets |
bolt | Report Bolts |
stud | Report Studs |
nut | Report Nuts |
washers | Report Washers |
ringJoints |
|
inline |
Sets the report in BOM flags.
Created in NX8.0.0
Deprecated in NX1847.0.0. Use Routing.ReuseLibrary.SpecificationsSetPostPlacementReportInBom instead.
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specName | Spec Name |
gasket | Report Gaskets |
bolt | Report Bolts |
stud | Report Studs |
nut | Report Nuts |
washers | Report Washers |
weldRing | Report Weld Rings |
ringJoints | Report Ring Joints |
weldGap |
|
inline |
Toggles the post placement option of given connection type of a specification
Created in NX1847.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specificationName | Specification Name |
connectionTypeOne | Value of the first CONNECTION_TYPE attribute. |
connectionTypeTwo | Value of the second CONNECTION_TYPE attribute. |
partType | Part Type. |
|
inline |
Update the attribute relationship for a specification at a given index.
Created in NX1847.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
specificationName | Specification Name |
nodeIdentifier | A part library node identifier. |
index | Update the attribute relationship of nodeIdentifier at index value in attribute relationship list of the specification with new charx. |
title | Attribute Title of node identifier. |
value | Attribute relationship value. |
|
get |
Returns the tag of this object.