public interface PartPlacementBuilder extends Builder
PartPlacementBuilder
. nxopen.MechanicalRouting.BuilderFactory#createPartPlacementBuilder
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
PDM.LogicalObject s that were created during part placement operation. |
PartPlacementBuilder.PlacementValidationStatus |
commitThisPlacement()
Commits the current placement operation.
|
Component |
createPartOccurrenceToPlace()
Creates the component for the user selected part (will load the part if needed) that will be used to generate placement solutions.
|
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
PDM.LogicalObject s that were created during part placement operation. |
LogicalObject[] |
getLogicalObjectsHavingUnassignedRequiredAttributes()
Returns the
PDM.LogicalObject s having unassigned non-auto-assignable required attributes. |
PlacementEngineBuilder |
initializePlacementEngineBuilder()
Initializes the Placement Engine builder with input already present in the Part Placement Builder.
|
NXObject |
logicalDesignObject()
Returns the mapping logical design object
License requirements: routing_base ("Routing Basic") . |
void |
preCommitThisPlacement()
Pre commits the current placement operation to prepare data (ex. split stock, post placement, etc) for final commit.
|
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 |
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 |
setLayer(int layerNumber)
Sets the layer for the Design Elements created during part placement operation.
|
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
nxopen.MechanicalRouting.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 |
setReferenceSet(String referenseSetName)
Sets 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
Component createPartOccurrenceToPlace() throws NXException, RemoteException
NXException
RemoteException
PlacementEngineBuilder initializePlacementEngineBuilder() throws NXException, RemoteException
NXException
RemoteException
void preCommitThisPlacement() throws NXException, RemoteException
MechanicalRouting.PartPlacementBuilder#commitThisPlacement
to complete the placement operation
NXException
RemoteException
PartPlacementBuilder.PlacementValidationStatus commitThisPlacement() throws NXException, RemoteException
MechanicalRouting.PartPlacementBuilder#preCommitThisPlacement
.
This method returns nxopen.MechanicalRouting.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
nxopen.MechanicalRouting.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 setReferenceSet(String referenseSetName) throws NXException, RemoteException
referenseSetName
- NXException
RemoteException
void setLayer(int layerNumber) throws NXException, RemoteException
layerNumber
- NXException
RemoteException
void autoAssignAttributes() throws NXException, RemoteException
PDM.LogicalObject
s that were created during part placement operation.
NXException
RemoteException
LogicalObject[] getLogicalObjectsHavingUnassignedRequiredAttributes() throws NXException, RemoteException
PDM.LogicalObject
s having unassigned non-auto-assignable required attributes.
NXException
RemoteException
LogicalObject[] getLogicalObjects() throws NXException, RemoteException
PDM.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
Copyright 2016 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.