public interface AlignStockBuilder extends Builder
AlignStockBuilder
Builder for aligning non-circular stocks.
Two methods are provided to user to make stocks alignment:
Routing Object: specify the referencing routing object and deriving the reference rotate vector from it,
Vector to Vector: specify the to vector as reference and the from vector as the target, then align them.
RouteManager.createAlignStockBuilder()
Property | Value |
---|---|
AlignmentMethod | RoutingObject |
Modifier and Type | Interface and Description |
---|---|
static class |
AlignStockBuilder.StockAlignmentMethod
Methods of aligning stocks.
|
Modifier and Type | Method and Description |
---|---|
AlignStockBuilder.StockAlignmentMethod |
alignmentMethod()
Returns the alignment method.
|
RouteObjectCollector |
referenceObject()
Returns the reference object.
|
Direction |
referenceVector()
Returns the reference vector.
|
void |
setAlignmentMethod(AlignStockBuilder.StockAlignmentMethod alignmentMethod)
License requirements: routing_base ("Routing Basic") . |
void |
setReferenceVector(Direction toVector)
License requirements: routing_base ("Routing Basic") . |
void |
setTargetVector(Direction fromVector)
License requirements: routing_base ("Routing Basic") . |
RouteObjectCollector |
stocksToAlign()
Returns a collection of stocks to align.
|
Direction |
targetVector()
Returns the target vector.
|
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
AlignStockBuilder.StockAlignmentMethod alignmentMethod() throws NXException, RemoteException
NXException
RemoteException
void setAlignmentMethod(AlignStockBuilder.StockAlignmentMethod alignmentMethod) throws NXException, RemoteException
alignmentMethod
- NXException
RemoteException
RouteObjectCollector referenceObject() throws NXException, RemoteException
NXException
RemoteException
Direction targetVector() throws NXException, RemoteException
NXException
RemoteException
void setTargetVector(Direction fromVector) throws NXException, RemoteException
fromVector
- NXException
RemoteException
Direction referenceVector() throws NXException, RemoteException
NXException
RemoteException
void setReferenceVector(Direction toVector) throws NXException, RemoteException
toVector
- NXException
RemoteException
RouteObjectCollector stocksToAlign() throws NXException, RemoteException
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.