NX Open C++ Reference Guide
|
Represents a NXOpen::Routing::StockPartConverterBuilder Builder for Part Conversion of the stocks. More...
Public Types | |
enum | PartOption { PartOptionWorkPart, PartOptionWorkPartWithLoadedChildren } |
Represents the option to indicate the scope of stock part coversion. More... | |
Public Member Functions | |
NXOpen::Routing::StockPartConverterBuilder::PartOption | ConvertWorkPartAndLoadedChildrenOption () |
Returns the convert workpart and loaded children option. More... | |
bool | RecreateStockComponentsOption () |
Returns the recreate StockComponents option. More... | |
void | SetConvertWorkPartAndLoadedChildrenOption (NXOpen::Routing::StockPartConverterBuilder::PartOption conversionOption) |
Sets the convert workpart and loaded children option. More... | |
void | SetRecreateStockComponentsOption (bool recreateStockComponentsOption) |
Sets the recreate StockComponents option. More... | |
Public Member Functions inherited from NXOpen::Builder | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. More... | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. More... | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. More... | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. More... | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. More... | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. More... | |
Public Member Functions inherited from NXOpen::TaggedObject | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
Represents a NXOpen::Routing::StockPartConverterBuilder Builder for Part Conversion of the stocks.
This also provides an option to Recreate stock components during part conversion.
To create a new instance of this class, use NXOpen::Routing::RouteManager::CreateStockPartConverterBuilder
Default values.
Property | Value |
---|---|
RecreateStockComponentsOption |
0 |
Created in NX10.0.0.
NXOpen::Routing::StockPartConverterBuilder::PartOption NXOpen::Routing::StockPartConverterBuilder::ConvertWorkPartAndLoadedChildrenOption | ( | ) |
Returns the convert workpart and loaded children option.
Returns if the stocks from only the work part or from the work part and loaded children have to be converted during part conversion.
Created in NX10.0.0.
License requirements : routing_base ("Routing Basic")
bool NXOpen::Routing::StockPartConverterBuilder::RecreateStockComponentsOption | ( | ) |
Returns the recreate StockComponents option.
Returns true if the stock components have to be recreated during part conversion.
Created in NX10.0.0.
License requirements : routing_base ("Routing Basic")
void NXOpen::Routing::StockPartConverterBuilder::SetConvertWorkPartAndLoadedChildrenOption | ( | NXOpen::Routing::StockPartConverterBuilder::PartOption | conversionOption | ) |
Sets the convert workpart and loaded children option.
Returns if the stocks from only the work part or from the work part and loaded children have to be converted during part conversion.
Created in NX10.0.0.
License requirements : routing_base ("Routing Basic")
conversionOption | conversionoption |
void NXOpen::Routing::StockPartConverterBuilder::SetRecreateStockComponentsOption | ( | bool | recreateStockComponentsOption | ) |
Sets the recreate StockComponents option.
Returns true if the stock components have to be recreated during part conversion.
Created in NX10.0.0.
License requirements : routing_base ("Routing Basic")
recreateStockComponentsOption | recreatestockcomponentsoption |