NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::CAM::StockPerPassBuilder Class Reference

Represents a Builder which holds the data for a set of individual stock per pass. More...

Inheritance diagram for NXOpen::CAM::StockPerPassBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

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::NXObjectCommit ()
 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::NXObjectGetObject ()
 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...
 

Detailed Description

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.

Member Function Documentation

double NXOpen::CAM::StockPerPassBuilder::GetStockOfPass ( int  passIndex)

Get stock of the specific pass.

Returns
the stock of the pass
Created in NX7.5.3.

License requirements : cam_base ("CAM BASE")
Parameters
passIndexpassindex
void NXOpen::CAM::StockPerPassBuilder::Modify ( int  pass,
double  stock 
)

Modify item
Created in NX6.0.0.



License requirements : cam_base ("CAM BASE")

Parameters
passthe pass on which stock will be modified
stockthe 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")

Parameters
diameterthe 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")

Parameters
roughPassthe rough passes
finishPassthe finish passes

The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.