|
NX Open C++ Reference Guide
|
Builder class for stock browser . More...
Public Types | |
| enum | TypeFilter { TypeFilterAll, TypeFilterStock, TypeFilterOverStock, TypeFilterFillerStock, TypeFilterSpaceReservation, TypeFilterFittingOverstock } |
| Filter type. More... | |
Public Member Functions | |
| void | DeleteStocks (const std::vector< NXOpen::NXObject * > &objects) |
| Deletes the given Routing::Stock or Routing::FittingOverstock Created in NX6.0.0. | |
| NXOpen::Routing::StockBrowserBuilder::TypeFilter | FilterType () |
| Returns the stock type filter which defines the type of stock Created in NX6.0.0. | |
| void | GetSortedList (std::vector< NXOpen::NXObject * > &objects) |
| Get the filtered stock object list Created in NX6.0.0. | |
| NXString | NameFilter () |
| Returns the stock name filter which defines filter to name stock Created in NX6.0.0. | |
| void | SetFilterType (NXOpen::Routing::StockBrowserBuilder::TypeFilter stockTypeFilter) |
| Sets the stock type filter which defines the type of stock Created in NX6.0.0. | |
| void | SetNameFilter (const NXString &stockNameFilter) |
| Sets the stock name filter which defines filter to name stock Created in NX6.0.0. | |
| void | SetNameFilter (const char *stockNameFilter) |
| Sets the stock name filter which defines filter to name stock Created in NX6.0.0. | |
| void | SetSortedList (const std::vector< NXOpen::NXObject * > &objects) |
| Set the filtered stock object list when filter type is changed. | |
Public Member Functions inherited from NXOpen::Builder | |
| 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. | |
Public Member Functions inherited from NXOpen::TaggedObject | |
| tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
| tag_t | Tag () const |
| Returns the tag of this object. | |
Builder class for stock browser .
To create a new instance of this class, use Routing::RouteManager::CreateStockBrowserBuilder
Default values.
| Property | Value |
|---|---|
|
FilterType |
All |
Created in NX6.0.0.
| void NXOpen::Routing::StockBrowserBuilder::DeleteStocks | ( | const std::vector< NXOpen::NXObject * > & | objects | ) |
Deletes the given Routing::Stock or Routing::FittingOverstock
Created in NX6.0.0.
License requirements : routing_base ("Routing Basic")
| objects | Filtered Routing Stocks |
| NXOpen::Routing::StockBrowserBuilder::TypeFilter NXOpen::Routing::StockBrowserBuilder::FilterType | ( | ) |
Returns the stock type filter which defines the type of stock
Created in NX6.0.0.
License requirements : routing_base ("Routing Basic")
| void NXOpen::Routing::StockBrowserBuilder::GetSortedList | ( | std::vector< NXOpen::NXObject * > & | objects | ) |
Get the filtered stock object list
Created in NX6.0.0.
License requirements : routing_base ("Routing Basic")
| objects | Filtered Routing Stocks |
| NXString NXOpen::Routing::StockBrowserBuilder::NameFilter | ( | ) |
Returns the stock name filter which defines filter to name stock
Created in NX6.0.0.
License requirements : routing_base ("Routing Basic")
| void NXOpen::Routing::StockBrowserBuilder::SetFilterType | ( | NXOpen::Routing::StockBrowserBuilder::TypeFilter | stockTypeFilter | ) |
Sets the stock type filter which defines the type of stock
Created in NX6.0.0.
License requirements : routing_base ("Routing Basic")
| stockTypeFilter | stocktypefilter |
| void NXOpen::Routing::StockBrowserBuilder::SetNameFilter | ( | const NXString & | stockNameFilter | ) |
Sets the stock name filter which defines filter to name stock
Created in NX6.0.0.
License requirements : routing_base ("Routing Basic")
| stockNameFilter | stocknamefilter |
| void NXOpen::Routing::StockBrowserBuilder::SetNameFilter | ( | const char * | stockNameFilter | ) |
Sets the stock name filter which defines filter to name stock
Created in NX6.0.0.
License requirements : routing_base ("Routing Basic")
| stockNameFilter | stocknamefilter |
| void NXOpen::Routing::StockBrowserBuilder::SetSortedList | ( | const std::vector< NXOpen::NXObject * > & | objects | ) |
Set the filtered stock object list when filter type is changed.
Created in NX6.0.0.
License requirements : routing_base ("Routing Basic")
| objects | Filtered Routing Stocks |