Modifier and Type | Method and Description |
---|---|
void |
addNewSpecification(String specName)
Adds a new empty specification to the library.
|
void |
deleteSpecification(String specName)
Delete a Specification from the reuse library.
|
CharacteristicList[] |
getMatchingParts(String startingIdentifier,
CharacteristicList searchCriteria)
Query the reuse library for all parts that match the given search criteria.
|
ReuseLibrary.PartLibraryGetChildNodesData |
partLibraryGetChildNodes(String nodeIdentifier)
Given an identifier, this routine returns it's child identifiers.
|
ReuseLibrary.PartLibraryGetDisciplineRootsData |
partLibraryGetDisciplineRoots()
Returns the identifiers which represent the start nodes for the current discipline.
|
CharacteristicList |
partLibraryGetPartsAtNode(String nodeIdentifier)
Given a node identifier, this routine will return all parts associated with that node.
|
void |
reload()
Reloads all of the nodes of the Routing Reuse Library based on the current discipline.
|
void |
reloadSpecification(String specName)
Reload a Specification into the reuse library.
|
void |
reloadSpecifications(boolean forceReload)
Reload Specifications into the reuse library.
|
void |
specificationsAddConnectionCompatibility(String specName,
String connectionTypeOne,
String connectionTypeTwo)
Adds a connection compatibility to the specification.
|
void |
specificationsAddGenericPostPlacement(String specName,
String placedPartIdentifier,
String postPlacementIdentifier,
String[] searchAttributes)
Add a generic post placmeent rule.
|
void |
specificationsDefinePostPlacementRules(String specName,
ReuseLibrary.PartType partType,
String startingIdentifier,
String[] searchAttributes)
Defines Post Placement rules.
|
ReuseLibrary.SpecificationsGetAttributeRelationshipsData |
specificationsGetAttributeRelationships(String specName,
String nodeIdentifier)
Gets the attribute relationships at a given library node.
|
ReuseLibrary.SpecificationsGetBranchTableData |
specificationsGetBranchTable(String specName)
Gets the branch compatibilities for the input specification.
|
ReuseLibrary.SpecificationsGetConnectionCompatibilitiesData |
specificationsGetConnectionCompatibilities(String specName)
Get the list of connection compatibilities from the specificaiton.
|
ReuseLibrary.SpecificationsGetConnectionPostPlacementData |
specificationsGetConnectionPostPlacement(String specName,
String connectionTypeOne,
String connectionTypeTwo)
Get post placement options for a given connection.
|
String |
specificationsGetCurrent()
Returns the name of the current specification.
|
String |
specificationsGetDescription(String specName)
Gets the description of a specification.
|
String[] |
specificationsGetDisciplineSpecifications()
Returns the names of all of the specifications that are defined for the current discipline.
|
ReuseLibrary.SpecificationsGetGeneralConnectionOptionsData |
specificationsGetGeneralConnectionOptions(String specName)
Gets the general connection options.
|
ReuseLibrary.SpecificationsGetGenericPostPlacementsData |
specificationsGetGenericPostPlacements(String specName)
Gets the defined generic post placement rules.
|
String[] |
specificationsGetGenericPostPlacementSearchAttributes(String specName,
String placedPartIdentifier,
String postPlacementIdentifier)
Get the generic post placement search attributes.
|
ReuseLibrary.SpecificationsGetPostPlacementRulesData |
specificationsGetPostPlacementRules(String specName,
ReuseLibrary.PartType partType)
Gets post placement rules.
|
ReuseLibrary.SpecificationsGetReportInBomData |
specificationsGetReportInBom(String specName)
Gets the Report in BOM flags.
|
void |
specificationsRemoveBranchCompatibility(String specName,
double nps,
double npsBranch)
Removes a branch compatibility
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic") . |
void |
specificationsRemoveConnectionCompatibility(String specName,
String connectionTypeOne,
String connectionTypeTwo)
Removes a connection compatibility from the specification.
|
void |
specificationsRemoveGenericPostPlacement(String specName,
String placedPartIdentifier,
String postPlacementIdentifier)
Remove a generic post placement option.
|
void |
specificationsSetAttributeRelationships(String specName,
String nodeIdentifier,
CharacteristicList attributeFilter)
Sets the attribute relationships for a specification.
|
void |
specificationsSetBranchCompatibility(String specName,
double nps,
double npsBranch)
Sets a branch compatibility.
|
void |
specificationsSetConnectionPostPlacement(String specName,
String connectionTypeOne,
String connectionTypeTwo,
boolean gasket,
boolean bolt,
boolean stud,
boolean nut,
boolean washers,
boolean weldRing,
boolean ringJoints)
Set Connection post placement rules on a valid connection.
|
void |
specificationsSetDescription(String specName,
String description)
Sets the description text for a specification.
|
void |
specificationsSetGeneralConnectionOptions(String specName,
boolean modelGaskets,
boolean modelWeldGaps,
double additionalBoltLength,
double additionalStudLength,
double weldGapValue)
Sets the General Connection Options.
|
void |
specificationsSetReportInBom(String specName,
boolean gasket,
boolean bolt,
boolean stud,
boolean nut,
boolean washers,
boolean weldRing,
boolean ringJoints,
boolean weldGap)
Sets the report in BOM flags.
|
void reload() throws NXException, RemoteException
NXException
RemoteException
ReuseLibrary.PartLibraryGetDisciplineRootsData partLibraryGetDisciplineRoots() throws NXException, RemoteException
NXException
RemoteException
ReuseLibrary.PartLibraryGetChildNodesData partLibraryGetChildNodes(String nodeIdentifier) throws NXException, RemoteException
nodeIdentifier
- A part library node identifier.NXException
RemoteException
CharacteristicList partLibraryGetPartsAtNode(String nodeIdentifier) throws NXException, RemoteException
nodeIdentifier
- A part library node identifier.NXException
RemoteException
CharacteristicList[] getMatchingParts(String startingIdentifier, CharacteristicList searchCriteria) throws NXException, RemoteException
startingIdentifier
- Node from which to begin the search.searchCriteria
- Search CriteriaNXException
RemoteException
String[] specificationsGetDisciplineSpecifications() throws NXException, RemoteException
NXException
RemoteException
String specificationsGetCurrent() throws NXException, RemoteException
NXException
RemoteException
void addNewSpecification(String specName) throws NXException, RemoteException
specName
- The name of the new specification.NXException
RemoteException
void specificationsSetDescription(String specName, String description) throws NXException, RemoteException
specName
- The name of the specification.description
- The description to add.NXException
RemoteException
String specificationsGetDescription(String specName) throws NXException, RemoteException
specName
- The name of the specification.NXException
RemoteException
void specificationsSetAttributeRelationships(String specName, String nodeIdentifier, CharacteristicList attributeFilter) throws NXException, RemoteException
specName
- The name of the specification.nodeIdentifier
- A part library node identifier.attributeFilter
- Attribute filters.NXException
RemoteException
ReuseLibrary.SpecificationsGetAttributeRelationshipsData specificationsGetAttributeRelationships(String specName, String nodeIdentifier) throws NXException, RemoteException
specName
- The name of the specification.nodeIdentifier
- A part library node identifier.NXException
RemoteException
ReuseLibrary.SpecificationsGetBranchTableData specificationsGetBranchTable(String specName) throws NXException, RemoteException
specName
- The name of the specification.NXException
RemoteException
void specificationsSetBranchCompatibility(String specName, double nps, double npsBranch) throws NXException, RemoteException
specName
- The name of the specification.nps
- NPS ValuenpsBranch
- NPS_BRANCH ValeNXException
RemoteException
void specificationsRemoveBranchCompatibility(String specName, double nps, double npsBranch) throws NXException, RemoteException
specName
- The name of the specification.nps
- NPS ValuenpsBranch
- NPS_BRANCH valueNXException
RemoteException
void specificationsAddConnectionCompatibility(String specName, String connectionTypeOne, String connectionTypeTwo) throws NXException, RemoteException
specName
- The name of the specification.connectionTypeOne
- Value of the first CONNECTION_TYPE attribute.connectionTypeTwo
- Value of the second CONNECTION_TYPE attribute.NXException
RemoteException
void specificationsRemoveConnectionCompatibility(String specName, String connectionTypeOne, String connectionTypeTwo) throws NXException, RemoteException
specName
- Name of the specification.connectionTypeOne
- Value of the first CONNECTION_TYPE attribute.connectionTypeTwo
- Value of the second CONNECTION_TYPE attribute.NXException
RemoteException
ReuseLibrary.SpecificationsGetConnectionCompatibilitiesData specificationsGetConnectionCompatibilities(String specName) throws NXException, RemoteException
specName
- Specification name.NXException
RemoteException
void specificationsSetConnectionPostPlacement(String specName, String connectionTypeOne, String connectionTypeTwo, boolean gasket, boolean bolt, boolean stud, boolean nut, boolean washers, boolean weldRing, boolean ringJoints) throws NXException, RemoteException
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
- NXException
RemoteException
ReuseLibrary.SpecificationsGetConnectionPostPlacementData specificationsGetConnectionPostPlacement(String specName, String connectionTypeOne, String connectionTypeTwo) throws NXException, RemoteException
specName
- Specification name.connectionTypeOne
- The first CONNECTION_TYPE value.connectionTypeTwo
- The second CONNECTION_TYPE value.NXException
RemoteException
void specificationsDefinePostPlacementRules(String specName, ReuseLibrary.PartType partType, String startingIdentifier, String[] searchAttributes) throws NXException, RemoteException
specName
- Specification Name.partType
- Post Placement TypestartingIdentifier
- Library Node to search from.searchAttributes
- Search Attribute Titles.NXException
RemoteException
ReuseLibrary.SpecificationsGetPostPlacementRulesData specificationsGetPostPlacementRules(String specName, ReuseLibrary.PartType partType) throws NXException, RemoteException
specName
- Specification name.partType
- Part Type.NXException
RemoteException
void specificationsSetReportInBom(String specName, boolean gasket, boolean bolt, boolean stud, boolean nut, boolean washers, boolean weldRing, boolean ringJoints, boolean weldGap) throws NXException, RemoteException
specName
- Spec Namegasket
- Report Gasketsbolt
- Report Boltsstud
- Report Studsnut
- Report Nutswashers
- Report WashersweldRing
- Report Weld RingsringJoints
- Report Ring JointsweldGap
- NXException
RemoteException
ReuseLibrary.SpecificationsGetReportInBomData specificationsGetReportInBom(String specName) throws NXException, RemoteException
specName
- Specification NameNXException
RemoteException
void specificationsSetGeneralConnectionOptions(String specName, boolean modelGaskets, boolean modelWeldGaps, double additionalBoltLength, double additionalStudLength, double weldGapValue) throws NXException, RemoteException
specName
- Specification NamemodelGaskets
- Whether or not to model GasketsmodelWeldGaps
- Whether or not to model weld gaps.additionalBoltLength
- Additional length to add to boltsadditionalStudLength
- Additional length to add to studsweldGapValue
- NXException
RemoteException
ReuseLibrary.SpecificationsGetGeneralConnectionOptionsData specificationsGetGeneralConnectionOptions(String specName) throws NXException, RemoteException
specName
- Specification NameNXException
RemoteException
void specificationsAddGenericPostPlacement(String specName, String placedPartIdentifier, String postPlacementIdentifier, String[] searchAttributes) throws NXException, RemoteException
specName
- Specification NameplacedPartIdentifier
- The placed part node identifier.postPlacementIdentifier
- The post placement part identifier.searchAttributes
- Attribute search titles.NXException
RemoteException
void specificationsRemoveGenericPostPlacement(String specName, String placedPartIdentifier, String postPlacementIdentifier) throws NXException, RemoteException
specName
- Specification NameplacedPartIdentifier
- Placed part node identifier.postPlacementIdentifier
- NXException
RemoteException
ReuseLibrary.SpecificationsGetGenericPostPlacementsData specificationsGetGenericPostPlacements(String specName) throws NXException, RemoteException
specName
- Specification Name.NXException
RemoteException
String[] specificationsGetGenericPostPlacementSearchAttributes(String specName, String placedPartIdentifier, String postPlacementIdentifier) throws NXException, RemoteException
specName
- Specification NameplacedPartIdentifier
- Placed part node identifier.postPlacementIdentifier
- Post placement node identifierNXException
RemoteException
void reloadSpecifications(boolean forceReload) throws NXException, RemoteException
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.NXException
RemoteException
void reloadSpecification(String specName) throws NXException, RemoteException
specName
- Specification NameNXException
RemoteException
void deleteSpecification(String specName) throws NXException, RemoteException
specName
- Specification NameNXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.