NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::Routing::ReuseLibrary Class Reference

Represents a NXOpen::Routing::ReuseLibrary
No creator is available in KF. More...

Public Types

enum  PartType {
  PartTypeGasket, PartTypeBolt, PartTypeStud, PartTypeNut,
  PartTypeWasher, PartTypeWeldring, PartTypeRingjoint, PartTypeUnknown = -1
}
 Represents the part type. More...
 
enum  ReportInBom { ReportInBomDoNotReport, ReportInBomReport }
 Represents the report in BOM logical type. More...
 

Public Member Functions

void AddNewSpecification (const NXString &specName)
 Adds a new empty specification to the library. More...
 
void AddNewSpecification (const char *specName)
 Adds a new empty specification to the library. More...
 
void DeleteSpecification (const NXString &specName)
 Delete a Specification from the reuse library. More...
 
void DeleteSpecification (const char *specName)
 Delete a Specification from the reuse library. More...
 
std::vector
< NXOpen::Routing::CharacteristicList * > 
GetMatchingParts (const NXString &startingIdentifier, NXOpen::Routing::CharacteristicList *searchCriteria)
 Query the reuse library for all parts that match the given search criteria. More...
 
std::vector
< NXOpen::Routing::CharacteristicList * > 
GetMatchingParts (const char *startingIdentifier, NXOpen::Routing::CharacteristicList *searchCriteria)
 Query the reuse library for all parts that match the given search criteria. More...
 
void PartLibraryGetChildNodes (const NXString &nodeIdentifier, std::vector< NXString > &childIdentifiers, std::vector< NXString > &names)
 Given an identifier, this routine returns it's child identifiers. More...
 
void PartLibraryGetChildNodes (const char *nodeIdentifier, std::vector< NXString > &childIdentifiers, std::vector< NXString > &names)
 Given an identifier, this routine returns it's child identifiers. More...
 
void PartLibraryGetDisciplineRoots (std::vector< NXString > &identifiers, std::vector< NXString > &names)
 Returns the identifiers which represent the start nodes for the current discipline. More...
 
NXOpen::Routing::CharacteristicListPartLibraryGetPartsAtNode (const NXString &nodeIdentifier)
 Given a node identifier, this routine will return all parts associated with that node. More...
 
NXOpen::Routing::CharacteristicListPartLibraryGetPartsAtNode (const char *nodeIdentifier)
 Given a node identifier, this routine will return all parts associated with that node. More...
 
void Reload ()
 Reloads all of the nodes of the Routing Reuse Library based on the current discipline. More...
 
void ReloadSpecification (const NXString &specName)
 Reload a Specification into the reuse library. More...
 
void ReloadSpecification (const char *specName)
 Reload a Specification into the reuse library. More...
 
void ReloadSpecifications (bool forceReload)
 Reload Specifications into the reuse library. More...
 
void SpecificationsAddConnectionCompatibility (const NXString &specName, const NXString &connectionTypeOne, const NXString &connectionTypeTwo)
 Adds a connection compatibility to the specification. More...
 
void SpecificationsAddConnectionCompatibility (const char *specName, const char *connectionTypeOne, const char *connectionTypeTwo)
 Adds a connection compatibility to the specification. More...
 
void SpecificationsAddGenericPostPlacement (const NXString &specName, const NXString &placedPartIdentifier, const NXString &postPlacementIdentifier, std::vector< NXString > &searchAttributes)
 Add a generic post placmeent rule. More...
 
void SpecificationsAddGenericPostPlacement (const char *specName, const char *placedPartIdentifier, const char *postPlacementIdentifier, std::vector< NXString > &searchAttributes)
 Add a generic post placmeent rule. More...
 
void SpecificationsDefinePostPlacementRules (const NXString &specName, NXOpen::Routing::ReuseLibrary::PartType partType, const NXString &startingIdentifier, std::vector< NXString > &searchAttributes)
 Defines Post Placement rules. More...
 
void SpecificationsDefinePostPlacementRules (const char *specName, NXOpen::Routing::ReuseLibrary::PartType partType, const char *startingIdentifier, std::vector< NXString > &searchAttributes)
 Defines Post Placement rules. More...
 
NXOpen::Routing::CharacteristicListSpecificationsGetAttributeRelationships (const NXString &specName, const NXString &nodeIdentifier, int *numFilters)
 Gets the attribute relationships at a given library node. More...
 
NXOpen::Routing::CharacteristicListSpecificationsGetAttributeRelationships (const char *specName, const char *nodeIdentifier, int *numFilters)
 Gets the attribute relationships at a given library node. More...
 
void SpecificationsGetBranchTable (const NXString &specName, std::vector< double > &npsValues, std::vector< double > &npsBranchValues)
 Gets the branch compatibilities for the input specification. More...
 
void SpecificationsGetBranchTable (const char *specName, std::vector< double > &npsValues, std::vector< double > &npsBranchValues)
 Gets the branch compatibilities for the input specification. More...
 
void SpecificationsGetConnectionCompatibilities (const NXString &specName, std::vector< NXString > &connectionTypesOne, std::vector< NXString > &connectionTypesTwo)
 Get the list of connection compatibilities from the specificaiton. More...
 
void SpecificationsGetConnectionCompatibilities (const char *specName, std::vector< NXString > &connectionTypesOne, std::vector< NXString > &connectionTypesTwo)
 Get the list of connection compatibilities from the specificaiton. More...
 
void SpecificationsGetConnectionPostPlacement (const NXString &specName, const NXString &connectionTypeOne, const NXString &connectionTypeTwo, bool *gasket, bool *bolt, bool *stud, bool *nut, bool *washers, bool *weldRing, bool *ringJoints)
 Get post placement options for a given connection. More...
 
void SpecificationsGetConnectionPostPlacement (const char *specName, const char *connectionTypeOne, const char *connectionTypeTwo, bool *gasket, bool *bolt, bool *stud, bool *nut, bool *washers, bool *weldRing, bool *ringJoints)
 Get post placement options for a given connection. More...
 
NXString SpecificationsGetCurrent ()
 Returns the name of the current specification. More...
 
NXString SpecificationsGetDescription (const NXString &specName)
 Gets the description of a specification. More...
 
NXString SpecificationsGetDescription (const char *specName)
 Gets the description of a specification. More...
 
void SpecificationsGetDisciplineSpecifications (std::vector< NXString > &specs)
 Returns the names of all of the specifications that are defined for the current discipline. More...
 
void SpecificationsGetGeneralConnectionOptions (const NXString &specName, bool *modelGaskets, bool *modelWeldGaps, double *additionalBoltLength, double *additionalStudLength, double *weldGapValue)
 Gets the general connection options. More...
 
void SpecificationsGetGeneralConnectionOptions (const char *specName, bool *modelGaskets, bool *modelWeldGaps, double *additionalBoltLength, double *additionalStudLength, double *weldGapValue)
 Gets the general connection options. More...
 
void SpecificationsGetGenericPostPlacements (const NXString &specName, std::vector< NXString > &placedPartIdentifier, std::vector< NXString > &postPlacementIdentifier)
 Gets the defined generic post placement rules. More...
 
void SpecificationsGetGenericPostPlacements (const char *specName, std::vector< NXString > &placedPartIdentifier, std::vector< NXString > &postPlacementIdentifier)
 Gets the defined generic post placement rules. More...
 
void SpecificationsGetGenericPostPlacementSearchAttributes (const NXString &specName, const NXString &placedPartIdentifier, const NXString &postPlacementIdentifier, std::vector< NXString > &searchAttributes)
 Get the generic post placement search attributes. More...
 
void SpecificationsGetGenericPostPlacementSearchAttributes (const char *specName, const char *placedPartIdentifier, const char *postPlacementIdentifier, std::vector< NXString > &searchAttributes)
 Get the generic post placement search attributes. More...
 
void SpecificationsGetPostPlacementRules (const NXString &specName, NXOpen::Routing::ReuseLibrary::PartType partType, NXString *startingIdentifier, std::vector< NXString > &searchAttributes)
 Gets post placement rules. More...
 
void SpecificationsGetPostPlacementRules (const char *specName, NXOpen::Routing::ReuseLibrary::PartType partType, NXString *startingIdentifier, std::vector< NXString > &searchAttributes)
 Gets post placement rules. More...
 
void SpecificationsGetReportInBom (const NXString &specName, bool *gasket, bool *bolt, bool *stud, bool *nut, bool *washers, bool *weldRing, bool *ringJoints, bool *weldGap)
 Gets the Report in BOM flags. More...
 
void SpecificationsGetReportInBom (const char *specName, bool *gasket, bool *bolt, bool *stud, bool *nut, bool *washers, bool *weldRing, bool *ringJoints, bool *weldGap)
 Gets the Report in BOM flags. More...
 
void SpecificationsRemoveBranchCompatibility (const NXString &specName, double nps, double npsBranch)
 Removes a branch compatibility
Created in NX8.0.0. More...
 
void SpecificationsRemoveBranchCompatibility (const char *specName, double nps, double npsBranch)
 Removes a branch compatibility
Created in NX8.0.0. More...
 
void SpecificationsRemoveConnectionCompatibility (const NXString &specName, const NXString &connectionTypeOne, const NXString &connectionTypeTwo)
 Removes a connection compatibility from the specification. More...
 
void SpecificationsRemoveConnectionCompatibility (const char *specName, const char *connectionTypeOne, const char *connectionTypeTwo)
 Removes a connection compatibility from the specification. More...
 
void SpecificationsRemoveGenericPostPlacement (const NXString &specName, const NXString &placedPartIdentifier, const NXString &postPlacementIdentifier)
 Remove a generic post placement option. More...
 
void SpecificationsRemoveGenericPostPlacement (const char *specName, const char *placedPartIdentifier, const char *postPlacementIdentifier)
 Remove a generic post placement option. More...
 
void SpecificationsSetAttributeRelationships (const NXString &specName, const NXString &nodeIdentifier, NXOpen::Routing::CharacteristicList *attributeFilter)
 Sets the attribute relationships for a specification. More...
 
void SpecificationsSetAttributeRelationships (const char *specName, const char *nodeIdentifier, NXOpen::Routing::CharacteristicList *attributeFilter)
 Sets the attribute relationships for a specification. More...
 
void SpecificationsSetBranchCompatibility (const NXString &specName, double nps, double npsBranch)
 Sets a branch compatibility. More...
 
void SpecificationsSetBranchCompatibility (const char *specName, double nps, double npsBranch)
 Sets a branch compatibility. More...
 
void SpecificationsSetConnectionPostPlacement (const NXString &specName, const NXString &connectionTypeOne, const NXString &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...
 
void SpecificationsSetConnectionPostPlacement (const char *specName, const char *connectionTypeOne, const char *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...
 
void SpecificationsSetDescription (const NXString &specName, const NXString &description)
 Sets the description text for a specification. More...
 
void SpecificationsSetDescription (const char *specName, const char *description)
 Sets the description text for a specification. More...
 
void SpecificationsSetGeneralConnectionOptions (const NXString &specName, bool modelGaskets, bool modelWeldGaps, double additionalBoltLength, double additionalStudLength, double weldGapValue)
 Sets the General Connection Options. More...
 
void SpecificationsSetGeneralConnectionOptions (const char *specName, bool modelGaskets, bool modelWeldGaps, double additionalBoltLength, double additionalStudLength, double weldGapValue)
 Sets the General Connection Options. More...
 
void SpecificationsSetReportInBom (const NXString &specName, bool gasket, bool bolt, bool stud, bool nut, bool washers, bool weldRing, bool ringJoints, bool weldGap)
 Sets the report in BOM flags. More...
 
void SpecificationsSetReportInBom (const char *specName, bool gasket, bool bolt, bool stud, bool nut, bool washers, bool weldRing, bool ringJoints, bool weldGap)
 Sets the report in BOM flags. More...
 
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents a NXOpen::Routing::ReuseLibrary
No creator is available in KF.



Created in NX7.5.3.

Member Enumeration Documentation

Represents the part type.

Enumerator
PartTypeGasket 

Gasket Post Placement Type.

PartTypeBolt 

Bolt Post Placement Type.

PartTypeStud 

Stud Post Placement Type.

PartTypeNut 

Nut Post Placement Type.

PartTypeWasher 

Washer Post Placement Type.

PartTypeWeldring 

Weld Ring Post Placement Type.

PartTypeRingjoint 

Ring Joint Post Placement Type.

PartTypeUnknown 

Unknown Type.

Represents the report in BOM logical type.

Enumerator
ReportInBomDoNotReport 

Do not report in the Bill of Materials.

ReportInBomReport 

Report in the Bill of Materials.

Member Function Documentation

void NXOpen::Routing::ReuseLibrary::AddNewSpecification ( const NXString specName)

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

Parameters
specNameThe name of the new specification.
void NXOpen::Routing::ReuseLibrary::AddNewSpecification ( const char *  specName)

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

Parameters
specNameThe name of the new specification.
void NXOpen::Routing::ReuseLibrary::DeleteSpecification ( const NXString specName)

Delete a Specification from the reuse library.


Created in NX9.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameSpecification Name
void NXOpen::Routing::ReuseLibrary::DeleteSpecification ( const char *  specName)

Delete a Specification from the reuse library.


Created in NX9.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameSpecification Name
std::vector<NXOpen::Routing::CharacteristicList *> NXOpen::Routing::ReuseLibrary::GetMatchingParts ( const NXString startingIdentifier,
NXOpen::Routing::CharacteristicList searchCriteria 
)

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.

Returns
Search Results
Created in NX8.5.3.

License requirements : routing_base ("Routing Basic")
Parameters
startingIdentifierNode from which to begin the search.
searchCriteriaSearch Criteria
std::vector<NXOpen::Routing::CharacteristicList *> NXOpen::Routing::ReuseLibrary::GetMatchingParts ( const char *  startingIdentifier,
NXOpen::Routing::CharacteristicList searchCriteria 
)

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.

Returns
Search Results
Created in NX8.5.3.

License requirements : routing_base ("Routing Basic")
Parameters
startingIdentifierNode from which to begin the search.
searchCriteriaSearch Criteria
void NXOpen::Routing::ReuseLibrary::PartLibraryGetChildNodes ( const NXString nodeIdentifier,
std::vector< NXString > &  childIdentifiers,
std::vector< NXString > &  names 
)

Given an identifier, this routine returns it's child identifiers.


Created in NX8.0.0.

License requirements : routing_base ("Routing Basic")

Parameters
nodeIdentifierA part library node identifier.
childIdentifiersThe child node identifiers.
namesThe discipline start node identifiers.
void NXOpen::Routing::ReuseLibrary::PartLibraryGetChildNodes ( const char *  nodeIdentifier,
std::vector< NXString > &  childIdentifiers,
std::vector< NXString > &  names 
)

Given an identifier, this routine returns it's child identifiers.


Created in NX8.0.0.

License requirements : routing_base ("Routing Basic")

Parameters
nodeIdentifierA part library node identifier.
childIdentifiersThe child node identifiers.
namesThe discipline start node identifiers.
void NXOpen::Routing::ReuseLibrary::PartLibraryGetDisciplineRoots ( std::vector< NXString > &  identifiers,
std::vector< NXString > &  names 
)

Returns the identifiers which represent the start nodes for the current discipline.


Created in NX8.0.0.

License requirements : routing_base ("Routing Basic")

Parameters
identifiersThe discipline start node identifiers.
namesThe discipline start node identifiers.
NXOpen::Routing::CharacteristicList* NXOpen::Routing::ReuseLibrary::PartLibraryGetPartsAtNode ( const NXString nodeIdentifier)

Given a node identifier, this routine will return all parts associated with that node.

Returns
An array of parts.
Created in NX8.0.0.

License requirements : routing_base ("Routing Basic")
Parameters
nodeIdentifierA part library node identifier.
NXOpen::Routing::CharacteristicList* NXOpen::Routing::ReuseLibrary::PartLibraryGetPartsAtNode ( const char *  nodeIdentifier)

Given a node identifier, this routine will return all parts associated with that node.

Returns
An array of parts.
Created in NX8.0.0.

License requirements : routing_base ("Routing Basic")
Parameters
nodeIdentifierA part library node identifier.
void NXOpen::Routing::ReuseLibrary::Reload ( )

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

void NXOpen::Routing::ReuseLibrary::ReloadSpecification ( const NXString specName)

Reload a Specification into the reuse library.


Created in NX9.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameSpecification Name
void NXOpen::Routing::ReuseLibrary::ReloadSpecification ( const char *  specName)

Reload a Specification into the reuse library.


Created in NX9.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameSpecification Name
void NXOpen::Routing::ReuseLibrary::ReloadSpecifications ( bool  forceReload)

Reload Specifications into the reuse library.


Created in NX9.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
forceReloadShould the specifications be forced to reload? Setting forceReload false will reload only if there are no (non-legacy) specifications loaded in the reuse library.
void NXOpen::Routing::ReuseLibrary::SpecificationsAddConnectionCompatibility ( const NXString specName,
const NXString connectionTypeOne,
const NXString connectionTypeTwo 
)

Adds a connection compatibility to the specification.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameThe name of the specification.
connectionTypeOneValue of the first CONNECTION_TYPE attribute.
connectionTypeTwoValue of the second CONNECTION_TYPE attribute.
void NXOpen::Routing::ReuseLibrary::SpecificationsAddConnectionCompatibility ( const char *  specName,
const char *  connectionTypeOne,
const char *  connectionTypeTwo 
)

Adds a connection compatibility to the specification.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameThe name of the specification.
connectionTypeOneValue of the first CONNECTION_TYPE attribute.
connectionTypeTwoValue of the second CONNECTION_TYPE attribute.
void NXOpen::Routing::ReuseLibrary::SpecificationsAddGenericPostPlacement ( const NXString specName,
const NXString placedPartIdentifier,
const NXString postPlacementIdentifier,
std::vector< NXString > &  searchAttributes 
)

Add a generic post placmeent rule.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameSpecification Name
placedPartIdentifierThe placed part node identifier.
postPlacementIdentifierThe post placement part identifier.
searchAttributesAttribute search titles.
void NXOpen::Routing::ReuseLibrary::SpecificationsAddGenericPostPlacement ( const char *  specName,
const char *  placedPartIdentifier,
const char *  postPlacementIdentifier,
std::vector< NXString > &  searchAttributes 
)

Add a generic post placmeent rule.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameSpecification Name
placedPartIdentifierThe placed part node identifier.
postPlacementIdentifierThe post placement part identifier.
searchAttributesAttribute search titles.
void NXOpen::Routing::ReuseLibrary::SpecificationsDefinePostPlacementRules ( const NXString specName,
NXOpen::Routing::ReuseLibrary::PartType  partType,
const NXString startingIdentifier,
std::vector< NXString > &  searchAttributes 
)

Defines Post Placement rules.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameSpecification Name.
partTypePost Placement Type
startingIdentifierLibrary Node to search from.
searchAttributesSearch Attribute Titles.
void NXOpen::Routing::ReuseLibrary::SpecificationsDefinePostPlacementRules ( const char *  specName,
NXOpen::Routing::ReuseLibrary::PartType  partType,
const char *  startingIdentifier,
std::vector< NXString > &  searchAttributes 
)

Defines Post Placement rules.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameSpecification Name.
partTypePost Placement Type
startingIdentifierLibrary Node to search from.
searchAttributesSearch Attribute Titles.
NXOpen::Routing::CharacteristicList* NXOpen::Routing::ReuseLibrary::SpecificationsGetAttributeRelationships ( const NXString specName,
const NXString nodeIdentifier,
int *  numFilters 
)

Gets the attribute relationships at a given library node.

Returns
Attribute filters.
Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
Parameters
specNameThe name of the specification.
nodeIdentifierA part library node identifier.
numFiltersnumfilters
NXOpen::Routing::CharacteristicList* NXOpen::Routing::ReuseLibrary::SpecificationsGetAttributeRelationships ( const char *  specName,
const char *  nodeIdentifier,
int *  numFilters 
)

Gets the attribute relationships at a given library node.

Returns
Attribute filters.
Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
Parameters
specNameThe name of the specification.
nodeIdentifierA part library node identifier.
numFiltersnumfilters
void NXOpen::Routing::ReuseLibrary::SpecificationsGetBranchTable ( const NXString specName,
std::vector< double > &  npsValues,
std::vector< double > &  npsBranchValues 
)

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

Parameters
specNameThe name of the specification.
npsValuesThe NPS Values.
npsBranchValuesThe NPS_BRANCH values.
void NXOpen::Routing::ReuseLibrary::SpecificationsGetBranchTable ( const char *  specName,
std::vector< double > &  npsValues,
std::vector< double > &  npsBranchValues 
)

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

Parameters
specNameThe name of the specification.
npsValuesThe NPS Values.
npsBranchValuesThe NPS_BRANCH values.
void NXOpen::Routing::ReuseLibrary::SpecificationsGetConnectionCompatibilities ( const NXString specName,
std::vector< NXString > &  connectionTypesOne,
std::vector< NXString > &  connectionTypesTwo 
)

Get the list of connection compatibilities from the specificaiton.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameSpecification name.
connectionTypesOneValues for the first CONNECTION_TYPE attribute.
connectionTypesTwoValues for the second CONNECTION_TYPE attribute.
void NXOpen::Routing::ReuseLibrary::SpecificationsGetConnectionCompatibilities ( const char *  specName,
std::vector< NXString > &  connectionTypesOne,
std::vector< NXString > &  connectionTypesTwo 
)

Get the list of connection compatibilities from the specificaiton.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameSpecification name.
connectionTypesOneValues for the first CONNECTION_TYPE attribute.
connectionTypesTwoValues for the second CONNECTION_TYPE attribute.
void NXOpen::Routing::ReuseLibrary::SpecificationsGetConnectionPostPlacement ( const NXString specName,
const NXString connectionTypeOne,
const NXString connectionTypeTwo,
bool *  gasket,
bool *  bolt,
bool *  stud,
bool *  nut,
bool *  washers,
bool *  weldRing,
bool *  ringJoints 
)

Get post placement options for a given connection.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameSpecification name.
connectionTypeOneThe first CONNECTION_TYPE value.
connectionTypeTwoThe second CONNECTION_TYPE value.
gasketWhether or not to place Gaskets for this connection.
boltWhether or not to place Bolts for this connection.
studWhether or not to place Studs for this connection.
nutWhether or not to place Nuts for this connection.
washersWhether or not to place Washers for this connection.
weldRingWhether or not to place Weld Rings for this connection.
ringJointsringjoints
void NXOpen::Routing::ReuseLibrary::SpecificationsGetConnectionPostPlacement ( const char *  specName,
const char *  connectionTypeOne,
const char *  connectionTypeTwo,
bool *  gasket,
bool *  bolt,
bool *  stud,
bool *  nut,
bool *  washers,
bool *  weldRing,
bool *  ringJoints 
)

Get post placement options for a given connection.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameSpecification name.
connectionTypeOneThe first CONNECTION_TYPE value.
connectionTypeTwoThe second CONNECTION_TYPE value.
gasketWhether or not to place Gaskets for this connection.
boltWhether or not to place Bolts for this connection.
studWhether or not to place Studs for this connection.
nutWhether or not to place Nuts for this connection.
washersWhether or not to place Washers for this connection.
weldRingWhether or not to place Weld Rings for this connection.
ringJointsringjoints
NXString NXOpen::Routing::ReuseLibrary::SpecificationsGetCurrent ( )

Returns the name of the current specification.

Returns
The name of the current specification.
Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
NXString NXOpen::Routing::ReuseLibrary::SpecificationsGetDescription ( const NXString specName)

Gets the description of a specification.

Returns
Specification description.
Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
Parameters
specNameThe name of the specification.
NXString NXOpen::Routing::ReuseLibrary::SpecificationsGetDescription ( const char *  specName)

Gets the description of a specification.

Returns
Specification description.
Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
Parameters
specNameThe name of the specification.
void NXOpen::Routing::ReuseLibrary::SpecificationsGetDisciplineSpecifications ( std::vector< NXString > &  specs)

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

Parameters
specsSpecification names.
void NXOpen::Routing::ReuseLibrary::SpecificationsGetGeneralConnectionOptions ( const NXString specName,
bool *  modelGaskets,
bool *  modelWeldGaps,
double *  additionalBoltLength,
double *  additionalStudLength,
double *  weldGapValue 
)

Gets the general connection options.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameSpecification Name
modelGasketsWhether or not to model Gaskets
modelWeldGapsWhether or not to model Weld Gaps
additionalBoltLengthAdditional length for bolts.
additionalStudLengthAdditional length for studs
weldGapValueweldgapvalue
void NXOpen::Routing::ReuseLibrary::SpecificationsGetGeneralConnectionOptions ( const char *  specName,
bool *  modelGaskets,
bool *  modelWeldGaps,
double *  additionalBoltLength,
double *  additionalStudLength,
double *  weldGapValue 
)

Gets the general connection options.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameSpecification Name
modelGasketsWhether or not to model Gaskets
modelWeldGapsWhether or not to model Weld Gaps
additionalBoltLengthAdditional length for bolts.
additionalStudLengthAdditional length for studs
weldGapValueweldgapvalue
void NXOpen::Routing::ReuseLibrary::SpecificationsGetGenericPostPlacements ( const NXString specName,
std::vector< NXString > &  placedPartIdentifier,
std::vector< NXString > &  postPlacementIdentifier 
)

Gets the defined generic post placement rules.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameSpecification Name.
placedPartIdentifierThe list of placed part node identifiers
postPlacementIdentifierThe list of post placement node identifiers.
void NXOpen::Routing::ReuseLibrary::SpecificationsGetGenericPostPlacements ( const char *  specName,
std::vector< NXString > &  placedPartIdentifier,
std::vector< NXString > &  postPlacementIdentifier 
)

Gets the defined generic post placement rules.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameSpecification Name.
placedPartIdentifierThe list of placed part node identifiers
postPlacementIdentifierThe list of post placement node identifiers.
void NXOpen::Routing::ReuseLibrary::SpecificationsGetGenericPostPlacementSearchAttributes ( const NXString specName,
const NXString placedPartIdentifier,
const NXString postPlacementIdentifier,
std::vector< NXString > &  searchAttributes 
)

Get the generic post placement search attributes.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameSpecification Name
placedPartIdentifierPlaced part node identifier.
postPlacementIdentifierPost placement node identifier
searchAttributesAttribute search titles.
void NXOpen::Routing::ReuseLibrary::SpecificationsGetGenericPostPlacementSearchAttributes ( const char *  specName,
const char *  placedPartIdentifier,
const char *  postPlacementIdentifier,
std::vector< NXString > &  searchAttributes 
)

Get the generic post placement search attributes.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameSpecification Name
placedPartIdentifierPlaced part node identifier.
postPlacementIdentifierPost placement node identifier
searchAttributesAttribute search titles.
void NXOpen::Routing::ReuseLibrary::SpecificationsGetPostPlacementRules ( const NXString specName,
NXOpen::Routing::ReuseLibrary::PartType  partType,
NXString startingIdentifier,
std::vector< NXString > &  searchAttributes 
)

Gets post placement rules.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameSpecification name.
partTypePart Type.
startingIdentifierLibrary node to begin searching from.
searchAttributesSearch Attribute Titles.
void NXOpen::Routing::ReuseLibrary::SpecificationsGetPostPlacementRules ( const char *  specName,
NXOpen::Routing::ReuseLibrary::PartType  partType,
NXString startingIdentifier,
std::vector< NXString > &  searchAttributes 
)

Gets post placement rules.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameSpecification name.
partTypePart Type.
startingIdentifierLibrary node to begin searching from.
searchAttributesSearch Attribute Titles.
void NXOpen::Routing::ReuseLibrary::SpecificationsGetReportInBom ( const NXString specName,
bool *  gasket,
bool *  bolt,
bool *  stud,
bool *  nut,
bool *  washers,
bool *  weldRing,
bool *  ringJoints,
bool *  weldGap 
)

Gets the Report in BOM flags.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameSpecification Name
gasketReport Gaskets
boltReport Bolts
studReport Studs
nutReport Nuts
washersReport Washers
weldRingReport Weld Rings
ringJointsReport Ring Joints
weldGapweldgap
void NXOpen::Routing::ReuseLibrary::SpecificationsGetReportInBom ( const char *  specName,
bool *  gasket,
bool *  bolt,
bool *  stud,
bool *  nut,
bool *  washers,
bool *  weldRing,
bool *  ringJoints,
bool *  weldGap 
)

Gets the Report in BOM flags.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameSpecification Name
gasketReport Gaskets
boltReport Bolts
studReport Studs
nutReport Nuts
washersReport Washers
weldRingReport Weld Rings
ringJointsReport Ring Joints
weldGapweldgap
void NXOpen::Routing::ReuseLibrary::SpecificationsRemoveBranchCompatibility ( const NXString specName,
double  nps,
double  npsBranch 
)

Removes a branch compatibility
Created in NX8.0.0.



License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameThe name of the specification.
npsNPS Value
npsBranchNPS_BRANCH value
void NXOpen::Routing::ReuseLibrary::SpecificationsRemoveBranchCompatibility ( const char *  specName,
double  nps,
double  npsBranch 
)

Removes a branch compatibility
Created in NX8.0.0.



License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameThe name of the specification.
npsNPS Value
npsBranchNPS_BRANCH value
void NXOpen::Routing::ReuseLibrary::SpecificationsRemoveConnectionCompatibility ( const NXString specName,
const NXString connectionTypeOne,
const NXString connectionTypeTwo 
)

Removes a connection compatibility from the specification.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameName of the specification.
connectionTypeOneValue of the first CONNECTION_TYPE attribute.
connectionTypeTwoValue of the second CONNECTION_TYPE attribute.
void NXOpen::Routing::ReuseLibrary::SpecificationsRemoveConnectionCompatibility ( const char *  specName,
const char *  connectionTypeOne,
const char *  connectionTypeTwo 
)

Removes a connection compatibility from the specification.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameName of the specification.
connectionTypeOneValue of the first CONNECTION_TYPE attribute.
connectionTypeTwoValue of the second CONNECTION_TYPE attribute.
void NXOpen::Routing::ReuseLibrary::SpecificationsRemoveGenericPostPlacement ( const NXString specName,
const NXString placedPartIdentifier,
const NXString postPlacementIdentifier 
)

Remove a generic post placement option.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameSpecification Name
placedPartIdentifierPlaced part node identifier.
postPlacementIdentifierpostplacementidentifier
void NXOpen::Routing::ReuseLibrary::SpecificationsRemoveGenericPostPlacement ( const char *  specName,
const char *  placedPartIdentifier,
const char *  postPlacementIdentifier 
)

Remove a generic post placement option.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameSpecification Name
placedPartIdentifierPlaced part node identifier.
postPlacementIdentifierpostplacementidentifier
void NXOpen::Routing::ReuseLibrary::SpecificationsSetAttributeRelationships ( const NXString specName,
const NXString nodeIdentifier,
NXOpen::Routing::CharacteristicList attributeFilter 
)

Sets the attribute relationships for a specification.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameThe name of the specification.
nodeIdentifierA part library node identifier.
attributeFilterAttribute filters.
void NXOpen::Routing::ReuseLibrary::SpecificationsSetAttributeRelationships ( const char *  specName,
const char *  nodeIdentifier,
NXOpen::Routing::CharacteristicList attributeFilter 
)

Sets the attribute relationships for a specification.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameThe name of the specification.
nodeIdentifierA part library node identifier.
attributeFilterAttribute filters.
void NXOpen::Routing::ReuseLibrary::SpecificationsSetBranchCompatibility ( const NXString specName,
double  nps,
double  npsBranch 
)

Sets a branch compatibility.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameThe name of the specification.
npsNPS Value
npsBranchNPS_BRANCH Vale
void NXOpen::Routing::ReuseLibrary::SpecificationsSetBranchCompatibility ( const char *  specName,
double  nps,
double  npsBranch 
)

Sets a branch compatibility.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameThe name of the specification.
npsNPS Value
npsBranchNPS_BRANCH Vale
void NXOpen::Routing::ReuseLibrary::SpecificationsSetConnectionPostPlacement ( const NXString specName,
const NXString connectionTypeOne,
const NXString connectionTypeTwo,
bool  gasket,
bool  bolt,
bool  stud,
bool  nut,
bool  washers,
bool  weldRing,
bool  ringJoints 
)

Set Connection post placement rules on a valid connection.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameSpecification name.
connectionTypeOneThe first CONNECTION_TYPE value.
connectionTypeTwoThe second CONNECTION_TYPE value.
gasketWhether or not to place Gaskets for this connection.
boltWhether or not to place Bolts for this connection.
studWhether or not to place Studs for this connection.
nutWhether or not to place Nuts for this connection.
washersWhether or not to place Washers for this connection.
weldRingWhether or not to place Weld Rings for this connection.
ringJointsringjoints
void NXOpen::Routing::ReuseLibrary::SpecificationsSetConnectionPostPlacement ( const char *  specName,
const char *  connectionTypeOne,
const char *  connectionTypeTwo,
bool  gasket,
bool  bolt,
bool  stud,
bool  nut,
bool  washers,
bool  weldRing,
bool  ringJoints 
)

Set Connection post placement rules on a valid connection.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameSpecification name.
connectionTypeOneThe first CONNECTION_TYPE value.
connectionTypeTwoThe second CONNECTION_TYPE value.
gasketWhether or not to place Gaskets for this connection.
boltWhether or not to place Bolts for this connection.
studWhether or not to place Studs for this connection.
nutWhether or not to place Nuts for this connection.
washersWhether or not to place Washers for this connection.
weldRingWhether or not to place Weld Rings for this connection.
ringJointsringjoints
void NXOpen::Routing::ReuseLibrary::SpecificationsSetDescription ( const NXString specName,
const NXString description 
)

Sets the description text for a specification.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameThe name of the specification.
descriptionThe description to add.
void NXOpen::Routing::ReuseLibrary::SpecificationsSetDescription ( const char *  specName,
const char *  description 
)

Sets the description text for a specification.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameThe name of the specification.
descriptionThe description to add.
void NXOpen::Routing::ReuseLibrary::SpecificationsSetGeneralConnectionOptions ( const NXString specName,
bool  modelGaskets,
bool  modelWeldGaps,
double  additionalBoltLength,
double  additionalStudLength,
double  weldGapValue 
)

Sets the General Connection Options.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameSpecification Name
modelGasketsWhether or not to model Gaskets
modelWeldGapsWhether or not to model weld gaps.
additionalBoltLengthAdditional length to add to bolts
additionalStudLengthAdditional length to add to studs
weldGapValueweldgapvalue
void NXOpen::Routing::ReuseLibrary::SpecificationsSetGeneralConnectionOptions ( const char *  specName,
bool  modelGaskets,
bool  modelWeldGaps,
double  additionalBoltLength,
double  additionalStudLength,
double  weldGapValue 
)

Sets the General Connection Options.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameSpecification Name
modelGasketsWhether or not to model Gaskets
modelWeldGapsWhether or not to model weld gaps.
additionalBoltLengthAdditional length to add to bolts
additionalStudLengthAdditional length to add to studs
weldGapValueweldgapvalue
void NXOpen::Routing::ReuseLibrary::SpecificationsSetReportInBom ( const NXString specName,
bool  gasket,
bool  bolt,
bool  stud,
bool  nut,
bool  washers,
bool  weldRing,
bool  ringJoints,
bool  weldGap 
)

Sets the report in BOM flags.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameSpec Name
gasketReport Gaskets
boltReport Bolts
studReport Studs
nutReport Nuts
washersReport Washers
weldRingReport Weld Rings
ringJointsReport Ring Joints
weldGapweldgap
void NXOpen::Routing::ReuseLibrary::SpecificationsSetReportInBom ( const char *  specName,
bool  gasket,
bool  bolt,
bool  stud,
bool  nut,
bool  washers,
bool  weldRing,
bool  ringJoints,
bool  weldGap 
)

Sets the report in BOM flags.


Created in NX8.0.0.

License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
specNameSpec Name
gasketReport Gaskets
boltReport Bolts
studReport Studs
nutReport Nuts
washersReport Washers
weldRingReport Weld Rings
ringJointsReport Ring Joints
weldGapweldgap
tag_t NXOpen::Routing::ReuseLibrary::Tag ( ) const

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.