NX Open C++ Reference Guide
|
The CalculateArea builder
To create a new instance of this class, use NXOpen::Tooling::CalculateAreaCollection::CreateBuilder
Default values.
More...
Public Member Functions | |
NXOpen::Expression * | AngularAccuracy () |
Returns the angular accuracy used as the minimum angle between two reference planes. More... | |
NXOpen::Expression * | DimTolerance () |
Returns the dim tolerance used as the area calculation tolerance. More... | |
NXOpen::NXObject * | PlaneDefine () |
Returns the plane defined as the reference plane to calculate area, the type could be planar face, datum plane and plane. More... | |
NXOpen::SelectBodyList * | SelectionTarget () |
Returns the target body to calculate area. More... | |
void | SetPlaneDefine (NXOpen::NXObject *planeDefine) |
Sets the plane defined as the reference plane to calculate area, the type could be planar face, datum plane and plane. More... | |
void | SetToggleSideArea (bool toggleSideArea) |
Sets the toggle side area to indicate calculate side area or not. More... | |
bool | ToggleSideArea () |
Returns the toggle side area to indicate calculate side area or not. 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... | |
The CalculateArea builder
To create a new instance of this class, use NXOpen::Tooling::CalculateAreaCollection::CreateBuilder
Default values.
Property | Value |
---|---|
AngularAccuracy.Value |
1.0 |
DimTolerance.Value |
0.01 (millimeters part), 0.001 (inches part) |
ToggleSideArea |
0 |
Created in NX7.0.0.
NXOpen::Expression* NXOpen::Tooling::CalculateAreaBuilder::AngularAccuracy | ( | ) |
Returns the angular accuracy used as the minimum angle between two reference planes.
Created in NX7.5.0.
License requirements : None
NXOpen::Expression* NXOpen::Tooling::CalculateAreaBuilder::DimTolerance | ( | ) |
Returns the dim tolerance used as the area calculation tolerance.
Created in NX7.5.0.
License requirements : None
NXOpen::NXObject* NXOpen::Tooling::CalculateAreaBuilder::PlaneDefine | ( | ) |
Returns the plane defined as the reference plane to calculate area, the type could be planar face, datum plane and plane.
Created in NX7.5.0.
License requirements : None
NXOpen::SelectBodyList* NXOpen::Tooling::CalculateAreaBuilder::SelectionTarget | ( | ) |
Returns the target body to calculate area.
It can be a single solid/sheet body, or multiple solid/sheet bodies.
Created in NX7.5.0.
License requirements : None
void NXOpen::Tooling::CalculateAreaBuilder::SetPlaneDefine | ( | NXOpen::NXObject * | planeDefine | ) |
Sets the plane defined as the reference plane to calculate area, the type could be planar face, datum plane and plane.
Created in NX7.5.0.
License requirements : None
planeDefine | planedefine |
void NXOpen::Tooling::CalculateAreaBuilder::SetToggleSideArea | ( | bool | toggleSideArea | ) |
Sets the toggle side area to indicate calculate side area or not.
Created in NX7.5.0.
License requirements : None
toggleSideArea | togglesidearea |
bool NXOpen::Tooling::CalculateAreaBuilder::ToggleSideArea | ( | ) |
Returns the toggle side area to indicate calculate side area or not.
Created in NX7.5.0.
License requirements : None