public interface PlacePartBuilder extends Builder
RouteManager.createPlacePartBuilderPTS(nxopen.TaggedObject, nxopen.TaggedObject, nxopen.Point3d, nxopen.TaggedObject)
Modifier and Type | Interface and Description |
---|---|
static class |
PlacePartBuilder.LoadedPartInfoData
This class holds the data returned from
getLoadedPartInfo() |
Modifier and Type | Method and Description |
---|---|
void |
finalizePlacement(CharacteristicList optionalCharx,
CharacteristicList requiredCharx,
String name,
int layerOption,
int layer,
boolean dfaultOStock)
Complete the placement operation.
|
boolean |
getAddPartToActiveRunFlag()
Determines whether part being placed has to be added in active run or not.
|
PlacePartBuilder.LoadedPartInfoData |
getLoadedPartInfo()
Get information about the parts being placed.
|
Vector3d |
getScrewSeatAlignmentVector()
Gets the alignment vector, primary axis direction for a stock, reducer, elbow, etc. along the part the screw seat is placed to align the screw seat.
|
Expression |
getScrewSeatAngle()
Gets the angle expression to be used for screw seat placement along a placed object.
|
Point3d |
getScrewSeatEnd()
Gets the point from builder, used in final placement of screw seat.
|
Point3d |
getScrewSeatIntersectionPoint()
Gets information about the final screw seat position.
|
Expression |
getScrewSeatLength()
Gets the length expression to be used for screw seat placement along a placed object.
|
void |
loadPart()
Load the specified part.
|
void |
loadPart(String partNumber)
Load a part given the input part number.
|
void |
replaceLoadedInstance(TaggedObject partInst)
Replace the builder's part instance with a new instance.
|
void |
setActiveLayer(int layerOption,
int layer)
Set the layer for the loaded part.
|
void |
setActiveRefSet(String refSet)
Set the reference set to use for the loaded part.
|
void |
setAddPartToActiveRunFlag(boolean addPartToActiveRun)
Set a flag which tells the builder whether the part being placed will be added in active run or not.
|
void |
setAttributeHolder(AttributeHolder attributeHolder)
Sets Attribute holder in builder, which is user for template attribute assignment.
|
void |
setLoadedPartInfo(TaggedObject loadedPart,
TaggedObject loadedInst)
Get information about the parts being placed.
|
void |
setPlacePartOperation(boolean replacePart)
Set a flag which tells the builder whether the part being placed is replacing
an existing part in the assembly.
|
void |
setScrewSeatAlignmentVector(Vector3d alignVector)
Sets the alignment vector, primary axis direction for a stock, reducer, elbow, etc. along the part the screw seat is placed to align the screw seat.
|
void |
setScrewSeatEnd(Point3d point)
Sets a point in builder, which is required for final placement of screw seat.
|
void |
setScrewSeatIntersectionPoint(Point3d intersectionPoint)
Sets the final position of screw seat.
|
void |
setScrewSeatPlacement(TaggedObject startLocation,
TaggedObject endLocation,
Point3d startPoint,
Point3d endPoint,
Expression length,
Expression angle)
Sets the input parameters to be used for measurement holder screw seats.
|
void |
unloadPart()
Update the loaded part with a new placement location and object.
|
void |
updatePlacementObj(TaggedObject placementObj,
Point3d placementPos)
Update the loaded part with a new placement location and object.
|
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
void loadPart(String partNumber) throws NXException, RemoteException
partNumber
- Part numberNXException
RemoteException
void loadPart() throws NXException, RemoteException
NXException
RemoteException
void setActiveRefSet(String refSet) throws NXException, RemoteException
refSet
- Reference Set NameNXException
RemoteException
void setActiveLayer(int layerOption, int layer) throws NXException, RemoteException
layerOption
- Layer Optionlayer
- Layer NumberNXException
RemoteException
void setScrewSeatPlacement(TaggedObject startLocation, TaggedObject endLocation, Point3d startPoint, Point3d endPoint, Expression length, Expression angle) throws NXException, RemoteException
startLocation
- The start port to determine screw seat placement.endLocation
- The end port to determine screw seat placement.startPoint
- The start position to determine screw seat placement.endPoint
- The end position to determine screw seat placement.length
- The length along the axis to place screw seat.angle
- The angle along the axis to place screw seat.NXException
RemoteException
void finalizePlacement(CharacteristicList optionalCharx, CharacteristicList requiredCharx, String name, int layerOption, int layer, boolean dfaultOStock) throws NXException, RemoteException
optionalCharx
- Optional Charx to apply.requiredCharx
- Required Charx to apply.name
- The component name to apply to the part.layerOption
- The layer option.layer
- The layer to apply.dfaultOStock
- Assign overstock to a fitting when a default is defined.NXException
RemoteException
void updatePlacementObj(TaggedObject placementObj, Point3d placementPos) throws NXException, RemoteException
placementObj
- New object to attach to. Can bee NULL.placementPos
- The new location for the part.NXException
RemoteException
void unloadPart() throws NXException, RemoteException
NXException
RemoteException
PlacePartBuilder.LoadedPartInfoData getLoadedPartInfo() throws NXException, RemoteException
NXException
RemoteException
void setLoadedPartInfo(TaggedObject loadedPart, TaggedObject loadedInst) throws NXException, RemoteException
loadedPart
- The PART object of the loaded part.loadedInst
- The Instance object of the loaded part.NXException
RemoteException
void replaceLoadedInstance(TaggedObject partInst) throws NXException, RemoteException
partInst
- The instance object of the loaded part.NXException
RemoteException
void setPlacePartOperation(boolean replacePart) throws NXException, RemoteException
replacePart
- True if replace part operation.NXException
RemoteException
void setScrewSeatIntersectionPoint(Point3d intersectionPoint) throws NXException, RemoteException
intersectionPoint
- The final position of screw seat placement.NXException
RemoteException
Point3d getScrewSeatIntersectionPoint() throws NXException, RemoteException
NXException
RemoteException
void setScrewSeatAlignmentVector(Vector3d alignVector) throws NXException, RemoteException
alignVector
- The alignment vector along the part on which screw seat is placed.NXException
RemoteException
Vector3d getScrewSeatAlignmentVector() throws NXException, RemoteException
NXException
RemoteException
void setScrewSeatEnd(Point3d point) throws NXException, RemoteException
point
- This is the internal point used in determining final position of screw seat placement.NXException
RemoteException
Point3d getScrewSeatEnd() throws NXException, RemoteException
NXException
RemoteException
void setAttributeHolder(AttributeHolder attributeHolder) throws NXException, RemoteException
attributeHolder
- Object to hold template attributesNXException
RemoteException
boolean getAddPartToActiveRunFlag() throws NXException, RemoteException
NXException
RemoteException
void setAddPartToActiveRunFlag(boolean addPartToActiveRun) throws NXException, RemoteException
addPartToActiveRun
- NXException
RemoteException
Expression getScrewSeatLength() throws NXException, RemoteException
NXException
RemoteException
Expression getScrewSeatAngle() throws NXException, RemoteException
NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.