NX Open C++ Reference Guide
|
Builder class to assigns style to the selected stock . More...
Public Types | |
enum | StockStyle { StockStyleCenterline, StockStyleSimpleSolid, StockStyleDetailedSolid } |
Enum to define the stock style. More... | |
Public Member Functions | |
NXOpen::Routing::StockStyleBuilder::StockStyle | EnumStockStyle () |
Returns the enum for setting stock style Created in NX6.0.0. | |
NXOpen::Routing::RouteObjectCollector * | RouteSelectionStock () |
Returns the route selection stock for selecting routing objects Created in NX6.0.0. | |
void | SetEnumStockStyle (NXOpen::Routing::StockStyleBuilder::StockStyle enumStockStyle) |
Sets the enum for setting stock style Created in NX6.0.0. | |
![]() | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Builder class to assigns style to the selected stock .
To create a new instance of this class, use Routing::RouteManager::CreateStockStyleBuilder
Default values.
Property | Value |
---|---|
EnumStockStyle |
SimpleSolid |
Created in NX6.0.0.
NXOpen::Routing::StockStyleBuilder::StockStyle NXOpen::Routing::StockStyleBuilder::EnumStockStyle | ( | ) |
Returns the enum for setting stock style
Created in NX6.0.0.
License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
NXOpen::Routing::RouteObjectCollector* NXOpen::Routing::StockStyleBuilder::RouteSelectionStock | ( | ) |
Returns the route selection stock for selecting routing objects
Created in NX6.0.0.
License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
void NXOpen::Routing::StockStyleBuilder::SetEnumStockStyle | ( | NXOpen::Routing::StockStyleBuilder::StockStyle | enumStockStyle | ) |
Sets the enum for setting stock style
Created in NX6.0.0.
License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
enumStockStyle | enumstockstyle |