CalculateAreaBuilder Class

class NXOpen.Tooling.CalculateAreaBuilder

Bases: NXOpen.Builder

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

New in version NX7.0.0.

Properties

Property Description
AngularAccuracy Returns the angular accuracy used as the minimum angle between two reference planes.
ApproximationTolerance Returns the area calculation approximation tolerance.
CreateSheet Returns or sets the option to indicate creating projected sheet or not
DimTolerance Returns the dim tolerance used as the area calculation tolerance.
PlaneDefine Returns or sets the plane defined as the reference plane to calculate area, the type could be planar face, datum plane and plane.
SelectionTarget Returns the target body to calculate area.
SheetMethod Returns or sets the method used to create the projected sheet body.
Tag Returns the Tag for this object.
ToggleSideArea Returns or sets the toggle side area to indicate calculate side area or not.

Methods

Method Description
Commit Commits any edits that have been applied to the builder.
Destroy Deletes the builder, and cleans up any objects created by the builder.
GetCommittedObjects For builders that create more than one object, this method returns the objects that are created by commit.
GetObject Returns the object currently being edited by this builder.
ShowResults Updates the model to reflect the result of an edit to the model for all builders that support showing results.
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Enumerations

CalculateAreaBuilderSheetMethodType Enumeration Represents the methods to create the projected sheet body.

Property Detail

AngularAccuracy

CalculateAreaBuilder.AngularAccuracy

Returns the angular accuracy used as the minimum angle between two reference planes.

-------------------------------------

Getter Method

Signature AngularAccuracy

Returns:
Return type:NXOpen.Expression

New in version NX7.5.0.

License requirements: None.

ApproximationTolerance

CalculateAreaBuilder.ApproximationTolerance

Returns the area calculation approximation tolerance.

-------------------------------------

Getter Method

Signature ApproximationTolerance

Returns:
Return type:NXOpen.Expression

New in version NX11.0.1.

License requirements: None.

CreateSheet

CalculateAreaBuilder.CreateSheet

Returns or sets the option to indicate creating projected sheet or not

-------------------------------------

Getter Method

Signature CreateSheet

Returns:
Return type:bool

New in version NX11.0.1.

License requirements: None.

-------------------------------------

Setter Method

Signature CreateSheet

Parameters:createSheet (bool) –

New in version NX11.0.1.

License requirements: ug_mold_design (“UG MOLD”) OR nx_electrode_wizard (“NX Electrode Wizard”)

DimTolerance

CalculateAreaBuilder.DimTolerance

Returns the dim tolerance used as the area calculation tolerance.

-------------------------------------

Getter Method

Signature DimTolerance

Returns:
Return type:NXOpen.Expression

New in version NX7.5.0.

License requirements: None.

PlaneDefine

CalculateAreaBuilder.PlaneDefine

Returns or sets the plane defined as the reference plane to calculate area, the type could be planar face, datum plane and plane.

-------------------------------------

Getter Method

Signature PlaneDefine

Returns:
Return type:NXOpen.NXObject

New in version NX7.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature PlaneDefine

Parameters:planeDefine (NXOpen.NXObject) –

New in version NX7.5.0.

License requirements: None.

SelectionTarget

CalculateAreaBuilder.SelectionTarget

Returns the target body to calculate area.

It can be a single solid/sheet body, or multiple solid/sheet bodies.

-------------------------------------

Getter Method

Signature SelectionTarget

Returns:
Return type:NXOpen.SelectBodyList

New in version NX7.5.0.

License requirements: None.

SheetMethod

CalculateAreaBuilder.SheetMethod

Returns or sets the method used to create the projected sheet body.

-------------------------------------

Getter Method

Signature SheetMethod

Returns:
Return type:NXOpen.Tooling.CalculateAreaBuilderSheetMethodType

New in version NX11.0.1.

License requirements: None.

-------------------------------------

Setter Method

Signature SheetMethod

Parameters:sheetMethod (NXOpen.Tooling.CalculateAreaBuilderSheetMethodType) –

New in version NX11.0.1.

License requirements: ug_mold_design (“UG MOLD”) OR nx_electrode_wizard (“NX Electrode Wizard”)

ToggleSideArea

CalculateAreaBuilder.ToggleSideArea

Returns or sets the toggle side area to indicate calculate side area or not.

-------------------------------------

Getter Method

Signature ToggleSideArea

Returns:
Return type:bool

New in version NX7.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature ToggleSideArea

Parameters:toggleSideArea (bool) –

New in version NX7.5.0.

License requirements: None.

Method Detail

Validate

CalculateAreaBuilder.Validate

Validate whether the inputs to the component are sufficient for commit to be called.

If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.

Signature Validate()

Returns:Was self validation successful
Return type:bool

New in version NX3.0.1.

License requirements: None.