NX Open C++ Reference Guide
|
Represents a Builder which holds the data for a set of individual stock per pass. More...
Public Member Functions | |
double | GetStockOfPass (int passIndex) |
Get stock of the specific pass. More... | |
void | Modify (int pass, double stock) |
Modify item Created in NX6.0.0. More... | |
void | SetToolDiameter (double diameter) |
Sets the Tool Diameter. More... | |
double | ToolDiameter () |
Returns the Tool Diameter. More... | |
void | UpdateList (int roughPass, int finishPass) |
Update list dependent on rough and finish passes number. 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 Builder which holds the data for a set of individual stock per pass.
This is an abstract class and cannot be instantiated.
Created in NX6.0.0.
double NXOpen::CAM::StockPerPassBuilder::GetStockOfPass | ( | int | passIndex | ) |
Get stock of the specific pass.
passIndex | passindex |
void NXOpen::CAM::StockPerPassBuilder::Modify | ( | int | pass, |
double | stock | ||
) |
Modify item
Created in NX6.0.0.
License requirements : cam_base ("CAM BASE")
pass | the pass on which stock will be modified |
stock | the new value of stock |
void NXOpen::CAM::StockPerPassBuilder::SetToolDiameter | ( | double | diameter | ) |
Sets the Tool Diameter.
It is used to validate data of list items and should be consistant with tool diameter of main object. i.e wedm operation. So when tool diameter of main object is changed, it should be updated immediately.
Created in NX7.5.0.
License requirements : cam_base ("CAM BASE")
diameter | the tool diameter |
double NXOpen::CAM::StockPerPassBuilder::ToolDiameter | ( | ) |
Returns the Tool Diameter.
It is used to validate data of list items and should be consistant with tool diameter of main object. i.e wedm operation. So when tool diameter of main object is changed, it should be updated immediately.
Created in NX7.5.0.
License requirements : cam_base ("CAM BASE")
void NXOpen::CAM::StockPerPassBuilder::UpdateList | ( | int | roughPass, |
int | finishPass | ||
) |
Update list dependent on rough and finish passes number.
Total pass number will be equal to (rough passes + finish passes -1), so this function should be invoked as rough/finish passes changing
Created in NX7.5.0.
License requirements : cam_base ("CAM BASE")
roughPass | the rough passes |
finishPass | the finish passes |