public interface PathStockBuilder extends Builder
RouteManager.createPathStockBuilder()
Modifier and Type | Interface and Description |
---|---|
static class |
PathStockBuilder._specified_stock_with_applied_charxData
This class holds the data returned from
getSpecifiedStock() |
static class |
PathStockBuilder.AssignMethod
Determines how to choose which stock to assign.
|
static class |
PathStockBuilder.AssignStockType
Determines the type of stock being assigned.
|
static class |
PathStockBuilder.RectangularDimensionsData
This class holds the data returned from
getRectangularDimensions() |
Modifier and Type | Method and Description |
---|---|
void |
assignStock(ISegment[] segments)
Assigns stock using the method defined by this stock builder object.
|
PathStockBuilder.AssignMethod |
assignStockMethod()
Returns the method to determine which stock to assign.
|
boolean |
defaultOrientationAlignmentEnabled()
Get the flag if non-circular stock default alignment is enabled
License requirements: routing_base ("Routing Basic") . |
double |
diameterValue()
Returns the diameter value to use for the
PathStockBuilder.AssignMethod.DIAMETER_VALUE
method of stock assignment. |
void |
enableDefaultOrientationAlignment(boolean suggestRotationAngle)
Set the flag if it is to enable non-circular stock default alignment or not
License requirements: routing_base ("Routing Basic") . |
Expression |
flatOvalHeight()
Returns the height value to use for the
PathStockBuilder.AssignMethod.FLAT_OVAL
method of stock assignment. |
Expression |
flatOvalRotation()
Returns the Width value to use for the
PathStockBuilder.AssignMethod.FLAT_OVAL
method of stock assignment
License requirements: routing_base ("Routing Basic") Created in NX7.5.0 |
Expression |
flatOvalWidth()
Returns the Width value to use for the
PathStockBuilder.AssignMethod.FLAT_OVAL
method of stock assignment
License requirements: routing_base ("Routing Basic") Created in NX7.5.0 |
PathStockBuilder._specified_stock_with_applied_charxData |
get_specified_stock_with_applied_charx()
Returns the specified stock and applied characteristics to use for the
PathStockBuilder.AssignMethod.SPECIFIED_STOCK
method of stock assignment. |
PathStockBuilder.RectangularDimensionsData |
getFlatOvalDimensions()
Get the FlatOval height and width value to use for the FlatOval space reservation assignment
License requirements: routing_base ("Routing Basic") . |
Component[] |
getParts()
Get the parts to use for the
PathStockBuilder.AssignMethod.FROM_PARTS
method of stock assignment
License requirements: routing_base ("Routing Basic") Created in NX7.5.0 |
PathStockBuilder.RectangularDimensionsData |
getRectangularDimensions()
Get the rectangular height and width value to use for the rectangular space reservation assignment
License requirements: routing_base ("Routing Basic") . |
CharacteristicList |
getSpecifiedStock()
Returns the specified stock to use for the
PathStockBuilder.AssignMethod.SPECIFIED_STOCK
method of stock assignment. |
boolean |
isRotationOverriden()
Get the rotation value overwritten flag
License requirements: routing_base ("Routing Basic") . |
void |
overrideRotation(boolean overrideRotation)
Set the rotation value overwritten flag
License requirements: routing_base ("Routing Basic") . |
Expression |
rectangularHeight()
Returns the height value to use for the
PathStockBuilder.AssignMethod.RECTANGULAR
method of stock assignment. |
Expression |
rectangularRotation()
Returns the Width value to use for the
PathStockBuilder.AssignMethod.RECTANGULAR
method of stock assignment
License requirements: routing_base ("Routing Basic") Created in NX7.5.0 |
Expression |
rectangularWidth()
Returns the Width value to use for the
PathStockBuilder.AssignMethod.RECTANGULAR
method of stock assignment
License requirements: routing_base ("Routing Basic") Created in NX7.5.0 |
void |
setAssignStockMethod(PathStockBuilder.AssignMethod method)
Sets the method to determine which stock to assign.
|
void |
setDiameterValue(double val)
Sets the diameter value to use for the
PathStockBuilder.AssignMethod.DIAMETER_VALUE
method of stock assignment. |
void |
setFlatOvalDimensions(double height,
double width)
Set the FlatOval height and width value for the FlatOval space reservation assignment
License requirements: routing_base ("Routing Basic") . |
void |
setParts(Component[] parts)
Set the parts to use for the
PathStockBuilder.AssignMethod.FROM_PARTS
method of stock assignment
License requirements: routing_base ("Routing Basic") Created in NX7.5.0 |
void |
setRectangularDimensions(double height,
double width)
Set the rectangular height and width value for the rectangular space reservation assignment
License requirements: routing_base ("Routing Basic") . |
void |
setSelectedStock(Stock stock)
Set the selected stock
License requirements: routing_base ("Routing Basic") . |
void |
setSpecifiedStock(CharacteristicList stockPart)
Sets the specified stock to use for the
PathStockBuilder.AssignMethod.SPECIFIED_STOCK
method of stock assignment. |
void |
setSpecifiedStock(CharacteristicList stockPart,
CharacteristicList appliedCharx)
Sets the specified stock and applied characteristics to use for the
PathStockBuilder.AssignMethod.SPECIFIED_STOCK
method of stock assignment. |
void |
setStartObject(NXObject startObject)
Sets the start object to use for the
PathStockBuilder.AssignMethod.FROM_START_OBJECT
method of stock assignment. |
void |
setStockType(PathStockBuilder.AssignStockType stockType)
Sets the type of stock being assigned.
|
void |
settingsChanged()
Notify the builder that the Routing preferred stock has been modified.
|
NXObject |
startObject()
Returns the start object to use for the
PathStockBuilder.AssignMethod.FROM_START_OBJECT
method of stock assignment. |
PathStockBuilder.AssignStockType |
stockType()
Returns the type of stock being assigned.
|
void |
updateExistingStock(Stock existingStock)
Updates an existing routing stock with settings stored in the builder.
|
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
PathStockBuilder.AssignMethod assignStockMethod() throws NXException, RemoteException
NXException
RemoteException
void setAssignStockMethod(PathStockBuilder.AssignMethod method) throws NXException, RemoteException
method
- NXException
RemoteException
NXObject startObject() throws NXException, RemoteException
PathStockBuilder.AssignMethod.FROM_START_OBJECT
method of stock assignment.
NXException
RemoteException
void setStartObject(NXObject startObject) throws NXException, RemoteException
PathStockBuilder.AssignMethod.FROM_START_OBJECT
method of stock assignment.
startObject
- NXException
RemoteException
void assignStock(ISegment[] segments) throws NXException, RemoteException
segments
- NXException
RemoteException
double diameterValue() throws NXException, RemoteException
PathStockBuilder.AssignMethod.DIAMETER_VALUE
method of stock assignment.
NXException
RemoteException
void setDiameterValue(double val) throws NXException, RemoteException
PathStockBuilder.AssignMethod.DIAMETER_VALUE
method of stock assignment.
val
- NXException
RemoteException
void updateExistingStock(Stock existingStock) throws NXException, RemoteException
existingStock
- Existing StockNXException
RemoteException
CharacteristicList getSpecifiedStock() throws NXException, RemoteException
PathStockBuilder.AssignMethod.SPECIFIED_STOCK
method of stock assignment.
StockData
for building the stock.
See StockDataCollection.createStockData(nxopen.routing.CharacteristicList)
.NXException
RemoteException
PathStockBuilder._specified_stock_with_applied_charxData get_specified_stock_with_applied_charx() throws NXException, RemoteException
PathStockBuilder.AssignMethod.SPECIFIED_STOCK
method of stock assignment.
NXException
RemoteException
void setSpecifiedStock(CharacteristicList stockPart) throws NXException, RemoteException
PathStockBuilder.AssignMethod.SPECIFIED_STOCK
method of stock assignment.
stockPart
- Characteristic list used to find the appropriate
StockData
for building the stock.
See StockDataCollection.createStockData(nxopen.routing.CharacteristicList)
.NXException
RemoteException
void setSpecifiedStock(CharacteristicList stockPart, CharacteristicList appliedCharx) throws NXException, RemoteException
PathStockBuilder.AssignMethod.SPECIFIED_STOCK
method of stock assignment.
stockPart
- Characteristic list used to find the appropriate
StockData
for building the stock.
See StockDataCollection.createStockData(nxopen.routing.CharacteristicList)
.appliedCharx
- Applied characteristics for the specified stock.NXException
RemoteException
PathStockBuilder.AssignStockType stockType() throws NXException, RemoteException
NXException
RemoteException
void setStockType(PathStockBuilder.AssignStockType stockType) throws NXException, RemoteException
stockType
- NXException
RemoteException
Expression rectangularHeight() throws NXException, RemoteException
PathStockBuilder.AssignMethod.RECTANGULAR
method of stock assignment.
NXException
RemoteException
Expression rectangularWidth() throws NXException, RemoteException
PathStockBuilder.AssignMethod.RECTANGULAR
method of stock assignment
NXException
RemoteException
Expression rectangularRotation() throws NXException, RemoteException
PathStockBuilder.AssignMethod.RECTANGULAR
method of stock assignment
NXException
RemoteException
Expression flatOvalHeight() throws NXException, RemoteException
PathStockBuilder.AssignMethod.FLAT_OVAL
method of stock assignment.
NXException
RemoteException
Expression flatOvalWidth() throws NXException, RemoteException
PathStockBuilder.AssignMethod.FLAT_OVAL
method of stock assignment
NXException
RemoteException
Expression flatOvalRotation() throws NXException, RemoteException
PathStockBuilder.AssignMethod.FLAT_OVAL
method of stock assignment
NXException
RemoteException
Component[] getParts() throws NXException, RemoteException
PathStockBuilder.AssignMethod.FROM_PARTS
method of stock assignment
NXException
RemoteException
void setParts(Component[] parts) throws NXException, RemoteException
PathStockBuilder.AssignMethod.FROM_PARTS
method of stock assignment
parts
- Part table parts to get
stock characteristics.NXException
RemoteException
void settingsChanged() throws NXException, RemoteException
NXException
RemoteException
PathStockBuilder.RectangularDimensionsData getRectangularDimensions() throws NXException, RemoteException
NXException
RemoteException
void setRectangularDimensions(double height, double width) throws NXException, RemoteException
height
- width
- NXException
RemoteException
PathStockBuilder.RectangularDimensionsData getFlatOvalDimensions() throws NXException, RemoteException
NXException
RemoteException
void setFlatOvalDimensions(double height, double width) throws NXException, RemoteException
height
- width
- NXException
RemoteException
void setSelectedStock(Stock stock) throws NXException, RemoteException
stock
- Selected StockNXException
RemoteException
boolean isRotationOverriden() throws NXException, RemoteException
NXException
RemoteException
void overrideRotation(boolean overrideRotation) throws NXException, RemoteException
overrideRotation
- NXException
RemoteException
boolean defaultOrientationAlignmentEnabled() throws NXException, RemoteException
NXException
RemoteException
void enableDefaultOrientationAlignment(boolean suggestRotationAngle) throws NXException, RemoteException
suggestRotationAngle
- NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.