public interface PlacementSolutionsBuilder extends Builder
RouteManager.createPlacementSolutionsBuilder()
Modifier and Type | Method and Description |
---|---|
void |
applyConstraintsAndClear()
Commit the solution and apply constraints if needed.
|
void |
applyConstraintsAndClear(boolean lockEngagement,
boolean lockRotation)
Commit the solution and apply constraints if needed.
|
void |
applyConstraintsAndClear(boolean lockEngagement,
boolean lockRotation,
boolean fixPart)
Commit the solution and apply constraints if needed.
|
void |
applyPortRotation(double angle)
Applies a rotation to the component about the axis of the port being used for placement.
|
void |
firstSolution()
Cycle to the first solution.
|
boolean |
getConsiderPorts()
Returns false if the first placement solution maintains the origin and orientation of the original component.
|
boolean |
getLookForAdditionalPlacementSolutions()
Is Place Part looking for additional placement solutions?
|
int |
getNumberOfSolutions()
Returns the total number of solutions based on the placement object.
|
boolean |
getOnlyPrimaryPlacementSolutions()
Is Place Part only considering the primary placement solutions?
|
int |
getSolutionIndex()
Returns the current index of the solution.
|
void |
initializePlacementData(TaggedObject part,
Point3d placementPos,
TaggedObject partToPlace)
Initialize Placement Data
License requirements: routing_base ("Routing Basic") . |
void |
nextSolution()
Cycle to the next solution.
|
void |
previousSolution()
Cycle to the previous solution
License requirements: routing_base ("Routing Basic") . |
void |
setConsiderPorts(boolean considerPorts)
Set to false to include a placement solution maintaining the origin and orientation of the component being replaced.
|
void |
setLookForAdditionalPlacementSolutions(boolean lookForAdditionalPlacementSolutions)
Set to true to look for additional placement solutions.
|
void |
setOnlyPrimaryPlacementSolutions(boolean onlyPrimaryPlacementSolutions)
True tells Place Part to only consider the primary placement solutions.
|
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
void initializePlacementData(TaggedObject part, Point3d placementPos, TaggedObject partToPlace) throws NXException, RemoteException
part
- The part which the new part was dropped on.placementPos
- Location the part was placedpartToPlace
- The part being placed.NXException
RemoteException
int getNumberOfSolutions() throws NXException, RemoteException
NXException
RemoteException
int getSolutionIndex() throws NXException, RemoteException
NXException
RemoteException
void nextSolution() throws NXException, RemoteException
NXException
RemoteException
void firstSolution() throws NXException, RemoteException
NXException
RemoteException
void previousSolution() throws NXException, RemoteException
NXException
RemoteException
void applyConstraintsAndClear() throws NXException, RemoteException
NXException
RemoteException
void applyConstraintsAndClear(boolean lockEngagement, boolean lockRotation) throws NXException, RemoteException
lockEngagement
- Lock engagement if applicable.lockRotation
- Lock Rotation if applicable.NXException
RemoteException
void applyPortRotation(double angle) throws NXException, RemoteException
angle
- Angle to apply.NXException
RemoteException
void applyConstraintsAndClear(boolean lockEngagement, boolean lockRotation, boolean fixPart) throws NXException, RemoteException
lockEngagement
- Lock engagement if applicable.lockRotation
- Lock Rotation if applicable.fixPart
- Fix Part if applicable.NXException
RemoteException
boolean getConsiderPorts() throws NXException, RemoteException
NXException
RemoteException
void setConsiderPorts(boolean considerPorts) throws NXException, RemoteException
considerPorts
- Are ports to be considered when finding the first placement solution?NXException
RemoteException
boolean getOnlyPrimaryPlacementSolutions() throws NXException, RemoteException
NXException
RemoteException
void setOnlyPrimaryPlacementSolutions(boolean onlyPrimaryPlacementSolutions) throws NXException, RemoteException
onlyPrimaryPlacementSolutions
- Are only the primary placement solutions to be found?NXException
RemoteException
boolean getLookForAdditionalPlacementSolutions() throws NXException, RemoteException
NXException
RemoteException
void setLookForAdditionalPlacementSolutions(boolean lookForAdditionalPlacementSolutions) throws NXException, RemoteException
lookForAdditionalPlacementSolutions
- Are additional placement solutions to be found?NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.