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 Types | |
enum | SheetMethodType { SheetMethodTypeCurve, SheetMethodTypeMesh } |
Represents the methods to create the projected sheet body. More... | |
Public Member Functions | |
NXOpen::Expression * | AngularAccuracy () |
Returns the angular accuracy used as the minimum angle between two reference planes. More... | |
NXOpen::Expression * | ApproximationTolerance () |
Returns the area calculation approximation tolerance. More... | |
bool | CreateSheet () |
Returns the option to indicate creating projected sheet or not Created in NX11.0.1. 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 | SetCreateSheet (bool createSheet) |
Sets the option to indicate creating projected sheet or not Created in NX11.0.1. 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 | SetSheetMethod (NXOpen::Tooling::CalculateAreaBuilder::SheetMethodType sheetMethod) |
Sets the method used to create the projected sheet body. More... | |
void | SetToggleSideArea (bool toggleSideArea) |
Sets the toggle side area to indicate calculate side area or not. More... | |
NXOpen::Tooling::CalculateAreaBuilder::SheetMethodType | SheetMethod () |
Returns the method used to create the projected sheet body. 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 |
ApproximationTolerance.Value |
0.1 (millimeters part), 0.004 (inches part) |
CreateSheet |
0 |
DimTolerance.Value |
0.01 (millimeters part), 0.001 (inches part) |
SheetMethod |
Curve |
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::ApproximationTolerance | ( | ) |
Returns the area calculation approximation tolerance.
Created in NX11.0.1.
License requirements : None
bool NXOpen::Tooling::CalculateAreaBuilder::CreateSheet | ( | ) |
Returns the option to indicate creating projected sheet or not
Created in NX11.0.1.
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::SetCreateSheet | ( | bool | createSheet | ) |
Sets the option to indicate creating projected sheet or not
Created in NX11.0.1.
License requirements : ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard")
createSheet | createsheet |
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::SetSheetMethod | ( | NXOpen::Tooling::CalculateAreaBuilder::SheetMethodType | sheetMethod | ) |
Sets the method used to create the projected sheet body.
Created in NX11.0.1.
License requirements : ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard")
sheetMethod | sheetmethod |
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 |
NXOpen::Tooling::CalculateAreaBuilder::SheetMethodType NXOpen::Tooling::CalculateAreaBuilder::SheetMethod | ( | ) |
Returns the method used to create the projected sheet body.
Created in NX11.0.1.
License requirements : None
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