NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::Tooling::CalculateAreaBuilder Class Reference

The CalculateArea builder
To create a new instance of this class, use NXOpen::Tooling::CalculateAreaCollection::CreateBuilder
Default values. More...

Inheritance diagram for NXOpen::Tooling::CalculateAreaBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Types

enum  SheetMethodType { SheetMethodTypeCurve, SheetMethodTypeMesh }
 Represents the methods to create the projected sheet body. More...
 

Public Member Functions

NXOpen::ExpressionAngularAccuracy ()
 Returns the angular accuracy used as the minimum angle between two reference planes. More...
 
NXOpen::ExpressionApproximationTolerance ()
 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::ExpressionDimTolerance ()
 Returns the dim tolerance used as the area calculation tolerance. More...
 
NXOpen::NXObjectPlaneDefine ()
 Returns the plane defined as the reference plane to calculate area, the type could be planar face, datum plane and plane. More...
 
NXOpen::SelectBodyListSelectionTarget ()
 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::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

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.

Member Enumeration Documentation

Represents the methods to create the projected sheet body.

Enumerator
SheetMethodTypeCurve 

Using projected curve method to create the sheet body.

SheetMethodTypeMesh 

Using mesh method to create the sheet body.

Member Function Documentation

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

Parameters
createSheetcreatesheet
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

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

Parameters
sheetMethodsheetmethod
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

Parameters
toggleSideAreatogglesidearea
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


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