public interface PartPlacementBuilder extends Builder
PartPlacementBuilder
. BuilderFactory.createPartPlacementBuilder(nxopen.Part, nxopen.assemblies.Component)
Modifier and Type | Interface and Description |
---|---|
static class |
PartPlacementBuilder.PlacementValidationStatus
The placement validation status .
|
static class |
PartPlacementBuilder.PositionAsType
The positioning types .
|
Modifier and Type | Method and Description |
---|---|
void |
autoAssignAttributes()
Auto assign the auto assignable attributes of all
LogicalObject s that were created during part placement operation. |
PartPlacementBuilder.PlacementValidationStatus |
commitThisPlacement()
Commits the current placement operation.
|
RouteObjectCollector |
componentsToEditCollector()
Returns the
RouteObjectCollector that collects components to edit
License requirements: routing_base ("Routing Basic") Created in NX12.0.0 |
Component |
createPartOccurrenceToPlace(String referenceSet,
int layer)
Creates the
Component for part to place with given reference set and layer. |
Port |
getCoincidentPortForCompatibility(Port portFromPlacedPart)
Get compatibility port from port of placed part (ex in case of Valve-Flange get corresponding coincident Flange port from Valve port)
License requirements: routing_base ("Routing Basic") . |
int |
getErrorCodeForPlacementSolution(PlacementSolution placementSolution)
Returns the error code for a placement solution.
|
PlacementSolution[] |
getFilteredPlacementSolutions()
Filters placement solutions based existing filtration flags in builder ex. primary.
|
LogicalObject[] |
getLogicalObjects()
Returns the
LogicalObject s that were created during part placement operation. |
LogicalObject[] |
getLogicalObjectsHavingUnassignedRequiredAttributes()
Returns the
LogicalObject s having unassigned non-auto-assignable required attributes. |
Port |
getPortAtCutSideOfElbow()
Get the port from cut side of cut elbow
License requirements: routing_base ("Routing Basic") . |
PlacementEngineBuilder |
initializePlacementEngineBuilder()
Initializes the Placement Engine builder with input already present in the Part Placement Builder.
|
BasePart |
loadPart()
Loads the
BasePart to place. |
NXObject |
logicalDesignObject()
Returns the mapping logical design object
License requirements: routing_base ("Routing Basic") . |
void |
preCommitThisPlacement()
Deprecated.
Deprecated in NX12.0.0. Use
processPlacedPart() followed by prepareDataForConnectivity() .
|
void |
prepareDataForConnectivity()
Prepare data to build connectivity for all placed parts.
|
Component[] |
processCompatibilityPostPlaceParts()
Process the compatibility post placement parts (ex. placement of gasket flange after the post placement of flange and do geoemtry operations like split stock, etc).
|
void |
processComponentsForEdit()
Processes the
Component s to edit their placement
License requirements: routing_base ("Routing Basic") Created in NX12.0.0 |
void |
processPlacedPart()
Processes the placed part.
|
Component[] |
processPostPlaceParts()
Process the post placement parts (ex. placement of flange after the valve and do geoemtry operations like split stock, etc).
|
void |
rotatePlaceableObjectByAngle(double rotationAngle)
Rotates the fitting by the specified angle along the plane perpendicular to the vector defined by the engaged port.
|
void |
setAddUnconnectedEquipmentToActiveRunOption(boolean canAddEquipmentToActiveRun)
Sets the option that determines whether a part positioned as Equipment should be added to the active Run
License requirements: routing_base ("Routing Basic") . |
void |
setClassificationObjectIdentifier(String classificationObjectId)
Sets the identifier of the classification object associated with the part to place
License requirements: routing_base ("Routing Basic") . |
void |
setClassificationObjectIdentifierOfCompatibilityPart(ReuseLibrary.PartType ccType,
String classificationObjectId,
Port portOne,
Port portTwo)
Sets the identifier of the classification object associated with the compatibility part to post place
License requirements: routing_base ("Routing Basic") . |
void |
setClassificationObjectIdentifierOfPartToPostPlace(String classificationObjectId)
Sets the identifier of the classification object associated with the part to be post placed.
|
void |
setFileSpecificationOfPartToPlace(String filename)
Sets the file specification of the part to place
License requirements: routing_base ("Routing Basic") . |
void |
setLogicalDesignObject(NXObject logicalDesignObject)
License requirements: routing_base ("Routing Basic") . |
void |
setPortOfPlaceableObject(TaggedObject sourcePortObject)
Sets the port for filtration from the part being placed.
|
void |
setPositionAsOption(PartPlacementBuilder.PositionAsType positioningType)
Sets the positioning option
PartPlacementBuilder.PositionAsType on the builder. |
void |
setPrimarySolutionsFlag(boolean showPrimarySolutions)
Sets the primary solutions flag on builder.
|
void |
setReferenceObjectForPlacement(TaggedObject referenceObject,
Point3d referencePositionPoint)
Sets the reference object and reference location for placement.
|
void |
updateLayer(int layerNumber)
Updates the layer for the Design Elements created during part placement operation.
|
void |
updateReferenceSet(String referenseSetName)
Updates the reference set for the Design Elements created during part placement operation.
|
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
void setFileSpecificationOfPartToPlace(String filename) throws NXException, RemoteException
filename
- NXException
RemoteException
void setClassificationObjectIdentifier(String classificationObjectId) throws NXException, RemoteException
classificationObjectId
- NXException
RemoteException
void setReferenceObjectForPlacement(TaggedObject referenceObject, Point3d referencePositionPoint) throws NXException, RemoteException
referenceObject
- New object to attach to. Can be NULL.referencePositionPoint
- The new location for the part.NXException
RemoteException
BasePart loadPart() throws NXException, RemoteException
BasePart
to place.
NXException
RemoteException
Component createPartOccurrenceToPlace(String referenceSet, int layer) throws NXException, RemoteException
Component
for part to place with given reference set and layer.
The created component will be used to generate placement solutions. Error will be raised if part to place is not loaded.
referenceSet
- reference set to apply on part occurrencelayer
- layerNXException
RemoteException
RouteObjectCollector componentsToEditCollector() throws NXException, RemoteException
RouteObjectCollector
that collects components to edit
NXException
RemoteException
void processComponentsForEdit() throws NXException, RemoteException
Component
s to edit their placement
NXException
RemoteException
PlacementEngineBuilder initializePlacementEngineBuilder() throws NXException, RemoteException
NXException
RemoteException
void preCommitThisPlacement() throws NXException, RemoteException
processPlacedPart()
followed by prepareDataForConnectivity()
.
commitThisPlacement()
to complete the placement operation
NXException
RemoteException
void processPlacedPart() throws NXException, RemoteException
NXException
RemoteException
Component[] processPostPlaceParts() throws NXException, RemoteException
NXException
RemoteException
Port getCoincidentPortForCompatibility(Port portFromPlacedPart) throws NXException, RemoteException
portFromPlacedPart
- NXException
RemoteException
Component[] processCompatibilityPostPlaceParts() throws NXException, RemoteException
NXException
RemoteException
void prepareDataForConnectivity() throws NXException, RemoteException
commitThisPlacement()
to complete the placement operation
NXException
RemoteException
PartPlacementBuilder.PlacementValidationStatus commitThisPlacement() throws NXException, RemoteException
preCommitThisPlacement()
.
This method returns PartPlacementBuilder.PlacementValidationStatus
value
NXException
RemoteException
void setPrimarySolutionsFlag(boolean showPrimarySolutions) throws NXException, RemoteException
showPrimarySolutions
- NXException
RemoteException
PlacementSolution[] getFilteredPlacementSolutions() throws NXException, RemoteException
NXException
RemoteException
void setPortOfPlaceableObject(TaggedObject sourcePortObject) throws NXException, RemoteException
sourcePortObject
- NXException
RemoteException
void setPositionAsOption(PartPlacementBuilder.PositionAsType positioningType) throws NXException, RemoteException
PartPlacementBuilder.PositionAsType
on the builder.
positioningType
- NXException
RemoteException
void rotatePlaceableObjectByAngle(double rotationAngle) throws NXException, RemoteException
rotationAngle
- NXException
RemoteException
void setClassificationObjectIdentifierOfPartToPostPlace(String classificationObjectId) throws NXException, RemoteException
classificationObjectId
- NXException
RemoteException
void setClassificationObjectIdentifierOfCompatibilityPart(ReuseLibrary.PartType ccType, String classificationObjectId, Port portOne, Port portTwo) throws NXException, RemoteException
ccType
- classificationObjectId
- portOne
- One of the ports at the intersection where compatible part needs to be placed.portTwo
- Other port at the intersection where compatible part needs to be placed.NXException
RemoteException
void updateReferenceSet(String referenseSetName) throws NXException, RemoteException
referenseSetName
- NXException
RemoteException
void updateLayer(int layerNumber) throws NXException, RemoteException
layerNumber
- NXException
RemoteException
void autoAssignAttributes() throws NXException, RemoteException
LogicalObject
s that were created during part placement operation.
NXException
RemoteException
LogicalObject[] getLogicalObjectsHavingUnassignedRequiredAttributes() throws NXException, RemoteException
LogicalObject
s having unassigned non-auto-assignable required attributes.
NXException
RemoteException
LogicalObject[] getLogicalObjects() throws NXException, RemoteException
LogicalObject
s that were created during part placement operation.
NXException
RemoteException
int getErrorCodeForPlacementSolution(PlacementSolution placementSolution) throws NXException, RemoteException
placementSolution
- NXException
RemoteException
void setAddUnconnectedEquipmentToActiveRunOption(boolean canAddEquipmentToActiveRun) throws NXException, RemoteException
canAddEquipmentToActiveRun
- Flag when true will result in parts positioned as Equipment to be added to the active Run.NXException
RemoteException
NXObject logicalDesignObject() throws NXException, RemoteException
NXException
RemoteException
void setLogicalDesignObject(NXObject logicalDesignObject) throws NXException, RemoteException
logicalDesignObject
- NXException
RemoteException
Port getPortAtCutSideOfElbow() throws NXException, RemoteException
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.