NX Open C++ Reference Guide
|
Represents a Builder which holds the data for a set of individual stock per pass. More...
Public Member Functions | |
void | Add (int passAfter, double stock) |
Add a new item | |
void | Delete (int pass) |
Delete a item | |
double | GetStockOfPass (int passIndex) |
Get stock of the specific pass. | |
void | Modify (int pass, double stock) |
Modify item Created in NX6.0.0. | |
void | MoveDown (int pass) |
Move down a item | |
void | MoveUp (int pass) |
Move up a item | |
void | SetToolDiameter (double diameter) |
Sets the Tool Diameter. | |
double | ToolDiameter () |
Returns the Tool Diameter. | |
void | UpdateList (int roughPass, int finishPass) |
Update list dependent on rough and finish passes number. |
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.
void NXOpen::CAM::StockPerPassBuilder::Add | ( | int | passAfter, |
double | stock | ||
) |
Add a new item
Created in NX6.0.0.
License requirements : cam_base ("CAM BASE")
passAfter | the pass which new pass will be added after |
stock | the stock for new pass |
void NXOpen::CAM::StockPerPassBuilder::Delete | ( | int | pass | ) |
Delete a item
Created in NX6.0.0.
License requirements : cam_base ("CAM BASE")
pass | the pass to be deleted |
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::MoveDown | ( | int | pass | ) |
Move down a item
Created in NX6.0.0.
License requirements : cam_base ("CAM BASE")
pass | the pass to be moved down |
void NXOpen::CAM::StockPerPassBuilder::MoveUp | ( | int | pass | ) |
Move up a item
Created in NX6.0.0.
License requirements : cam_base ("CAM BASE")
pass | the pass to be moved up |
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 |
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 |