|
NX Open C++ Reference Guide
|
The CalculateArea builder <br> To create a new instance of this class, use @link Tooling::CalculateAreaCollection::CreateBuilder Tooling::CalculateAreaCollection::CreateBuilder @endlink <br>
Default values. More...
Public Member Functions | |
| NXOpen::Expression * | AngularAccuracy () |
| Returns the angular accuracy used as the minimum angle between two reference planes. | |
| NXOpen::Expression * | DimTolerance () |
| Returns the dim tolerance used as the area calculation tolerance. | |
| NXOpen::NXObject * | PlaneDefine () |
| Returns the plane defined as the reference plane to calculate area, the type could be planar face, datum plane and plane. | |
| NXOpen::SelectBodyList * | SelectionTarget () |
| Returns the target body to calculate area. | |
| 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. | |
| void | SetToggleSideArea (bool toggleSideArea) |
| Sets the toggle side area to indicate calculate side area or not. | |
| bool | ToggleSideArea () |
| Returns the toggle side area to indicate calculate side area or not. | |
Public Member Functions inherited from NXOpen::Builder | |
| NXOpen::NXObject * | Commit () |
| Commits any edits that have been applied to the builder. | |
| void | Destroy () |
| Deletes the builder, and cleans up any objects created by the builder. | |
| std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
| For builders that create more than one object, this method returns the objects that are created by commit. | |
| NXOpen::NXObject * | GetObject () |
| Returns the object currently being edited by this builder. | |
| void | ShowResults () |
| Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
| virtual bool | Validate () |
| Validate whether the inputs to the component are sufficient for commit to be called. | |
Public Member Functions inherited from NXOpen::TaggedObject | |
| tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
| tag_t | Tag () const |
| Returns the tag of this object. | |
The CalculateArea builder <br> To create a new instance of this class, use @link Tooling::CalculateAreaCollection::CreateBuilder Tooling::CalculateAreaCollection::CreateBuilder @endlink <br>
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