ToolingBoxBuilder Class

class NXOpen.Features.ToolingBoxBuilder

Bases: NXOpen.Features.FeatureBuilder

Represents a NXOpen.Features.ToolingBox builder

To create a new instance of this class, use NXOpen.Features.ToolingFeatureCollection.CreateToolingBoxBuilder()

Default values.

Property Value
Clearance.Value 0 (millimeters part), 0 (inches part)
OffsetNegativeX.Value 0 (millimeters part), 0 (inches part)
OffsetNegativeY.Value 0 (millimeters part), 0 (inches part)
OffsetNegativeZ.Value 0 (millimeters part), 0 (inches part)
OffsetPositiveX.Value 0 (millimeters part), 0 (inches part)
OffsetPositiveY.Value 0 (millimeters part), 0 (inches part)
OffsetPositiveZ.Value 0 (millimeters part), 0 (inches part)
RadialOffset.Value 0 (millimeters part), 0 (inches part)
ReferenceCsysType Wcs
SingleOffset 1
XValue.Value 10 (millimeters part), 0.5 (inches part)
YValue.Value 10 (millimeters part), 0.5 (inches part)
ZValue.Value 10 (millimeters part), 0.5 (inches part)

New in version NX10.0.0.

Properties

Property Description
AxisPoint Returns or sets the point on the axis of the bounded cylinder
AxisVector Returns or sets the cylinder axis vector to create the bounded cylinder
BoundedObject Returns the objects used for bounded box creation.
BoxColor Returns or sets the box color.
BoxPosition Returns or sets the position of csys for box.
Clearance Returns the clearance value for box in six directions.
CsysAssociative Returns or sets the csys associative
CsysSelection Returns the selected reference csys
FacetBodies Returns the selected facet bodies.
NonAlignedMinimumBox Returns or sets the value that indicates whether to create non-aligned minimum bounding body or not.
OffsetNegativeX Returns the offset value for box in -X direction.
OffsetNegativeY Returns the offset value for box in -Y direction.
OffsetNegativeZ Returns the offset value for box in -Z direction.
OffsetPositiveX Returns the offset value for box in +X direction.
OffsetPositiveY Returns the offset value for box in +Y direction.
OffsetPositiveZ Returns the offset value for box in +Z direction.
ParentFeatureInternal Returns or sets whether or not the latest timestamped parent feature of this feature should be made internal
PatchSolutionFlag Returns or sets the patch solution flag
PatchSurfaceFilename Returns or sets the patch surface filename
PositionPrecisionValue Returns or sets the precision value for the center point of bounded box
PrecisionValue Returns or sets the precision value for the size of bounded box
RadialOffset Returns the radial offset value for cylinder box
ReferenceCsysType Returns or sets the reference csys type
ShowDimension Returns or sets the value indicate whether to show bounded box dimension or not during preview.
SingleOffset Returns or sets the option to control whether the handles operate individually or not.
SurroundingPatchSurfaceFilename Returns or sets the surrounding patch surface filename
Tag Returns the Tag for this object.
Type Returns or sets the box type.
XValue Returns the edge length in X direction for general box.
YValue Returns the edge length in Y direction for general box.
ZValue Returns the edge length in Z direction for general box.

Methods

Method Description
CalculateBoxSize Calculate box size and set directions, edge length, lower point position.
Commit Commits any edits that have been applied to the builder.
CommitFeature Commits the feature parameters and creates the feature
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.
GetFeature Returns the feature currently being edited by this builder.
GetObject Returns the object currently being edited by this builder.
HideInternalParentFeatureAfterEdit Re-suppress an internal parent feature (a slave feature) after it has been edited.
SetBoxMatrixAndPosition Sets box csys matrix.
SetParentFeatureInternal Set the parent features which would be internal or slaves to the feature being created or commited
SetSelectedOccurrences Sets selected object occurrences.
ShowInternalParentFeatureForEdit Unsuppress an internal parent feature (a slave feature) so it can be edited.
ShowResults Updates the model to reflect the result of an edit to the model for all builders that support showing results.
UnsetParentFeatureInternal Set the internal parent feature of the feature being edited to external
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Enumerations

ToolingBoxBuilderRefCsysType Enumeration the type of reference csys for box feature
ToolingBoxBuilderTypes Enumeration the type for box feature

Property Detail

AxisPoint

ToolingBoxBuilder.AxisPoint

Returns or sets the point on the axis of the bounded cylinder

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

Getter Method

Signature AxisPoint

Returns:
Return type:NXOpen.Point

New in version NX12.0.0.

License requirements: None.

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

Setter Method

Signature AxisPoint

Parameters:axisPoint (NXOpen.Point) –

New in version NX12.0.0.

License requirements: ug_mold_design (“UG MOLD”) OR nx_electrode_wizard (“NX Electrode Wizard”) OR prog_die_wizard (“UG/Progressive Die Wizard”) OR studio_free_form (“STUDIO FREE FORM”) OR features_modeling (“FEATURES MODELING”) OR solid_modeling (“SOLIDS MODELING”)

AxisVector

ToolingBoxBuilder.AxisVector

Returns or sets the cylinder axis vector to create the bounded cylinder

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

Getter Method

Signature AxisVector

Returns:
Return type:NXOpen.Direction

New in version NX10.0.0.

License requirements: None.

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

Setter Method

Signature AxisVector

Parameters:cylinderVector (NXOpen.Direction) –

New in version NX10.0.0.

License requirements: ug_mold_design (“UG MOLD”) OR nx_electrode_wizard (“NX Electrode Wizard”) OR prog_die_wizard (“UG/Progressive Die Wizard”) OR studio_free_form (“STUDIO FREE FORM”) OR features_modeling (“FEATURES MODELING”) OR solid_modeling (“SOLIDS MODELING”)

BoundedObject

ToolingBoxBuilder.BoundedObject

Returns the objects used for bounded box creation.

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

Getter Method

Signature BoundedObject

Returns:
Return type:NXOpen.ScCollector

New in version NX10.0.0.

License requirements: None.

BoxColor

ToolingBoxBuilder.BoxColor

Returns or sets the box color.

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

Getter Method

Signature BoxColor

Returns:
Return type:Id

New in version NX10.0.0.

License requirements: None.

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

Setter Method

Signature BoxColor

Parameters:colorValue (Id) –

New in version NX10.0.0.

License requirements: ug_mold_design (“UG MOLD”) OR nx_electrode_wizard (“NX Electrode Wizard”) OR prog_die_wizard (“UG/Progressive Die Wizard”) OR studio_free_form (“STUDIO FREE FORM”) OR features_modeling (“FEATURES MODELING”) OR solid_modeling (“SOLIDS MODELING”)

BoxPosition

ToolingBoxBuilder.BoxPosition

Returns or sets the position of csys for box.

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

Getter Method

Signature BoxPosition

Returns:
Return type:NXOpen.Point3d

New in version NX10.0.0.

License requirements: None.

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

Setter Method

Signature BoxPosition

Parameters:csysOrigin (NXOpen.Point3d) –

New in version NX10.0.0.

License requirements: ug_mold_design (“UG MOLD”) OR nx_electrode_wizard (“NX Electrode Wizard”) OR prog_die_wizard (“UG/Progressive Die Wizard”) OR studio_free_form (“STUDIO FREE FORM”) OR features_modeling (“FEATURES MODELING”) OR solid_modeling (“SOLIDS MODELING”)

Clearance

ToolingBoxBuilder.Clearance

Returns the clearance value for box in six directions.

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

Getter Method

Signature Clearance

Returns:
Return type:NXOpen.Expression

New in version NX10.0.0.

License requirements: None.

CsysAssociative

ToolingBoxBuilder.CsysAssociative

Returns or sets the csys associative

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

Getter Method

Signature CsysAssociative

Returns:
Return type:bool

New in version NX10.0.0.

License requirements: None.

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

Setter Method

Signature CsysAssociative

Parameters:csysAssociative (bool) –

New in version NX10.0.0.

License requirements: ug_mold_design (“UG MOLD”) OR nx_electrode_wizard (“NX Electrode Wizard”) OR prog_die_wizard (“UG/Progressive Die Wizard”) OR studio_free_form (“STUDIO FREE FORM”) OR features_modeling (“FEATURES MODELING”) OR solid_modeling (“SOLIDS MODELING”)

CsysSelection

ToolingBoxBuilder.CsysSelection

Returns the selected reference csys

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

Getter Method

Signature CsysSelection

Returns:
Return type:NXOpen.SelectCoordinateSystem

New in version NX10.0.0.

License requirements: None.

FacetBodies

ToolingBoxBuilder.FacetBodies

Returns the selected facet bodies.

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

Getter Method

Signature FacetBodies

Returns:Selected facet bodies.
Return type:NXOpen.SelectNXObjectList

New in version NX10.0.0.

License requirements: None.

NonAlignedMinimumBox

ToolingBoxBuilder.NonAlignedMinimumBox

Returns or sets the value that indicates whether to create non-aligned minimum bounding body or not.

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

Getter Method

Signature NonAlignedMinimumBox

Returns:
Return type:bool

New in version NX12.0.0.

License requirements: None.

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

Setter Method

Signature NonAlignedMinimumBox

Parameters:isNonAlignedBox (bool) –

New in version NX12.0.0.

License requirements: ug_mold_design (“UG MOLD”) OR nx_electrode_wizard (“NX Electrode Wizard”) OR prog_die_wizard (“UG/Progressive Die Wizard”) OR studio_free_form (“STUDIO FREE FORM”) OR features_modeling (“FEATURES MODELING”) OR solid_modeling (“SOLIDS MODELING”)

OffsetNegativeX

ToolingBoxBuilder.OffsetNegativeX

Returns the offset value for box in -X direction.

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

Getter Method

Signature OffsetNegativeX

Returns:
Return type:NXOpen.Expression

New in version NX10.0.0.

License requirements: None.

OffsetNegativeY

ToolingBoxBuilder.OffsetNegativeY

Returns the offset value for box in -Y direction.

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

Getter Method

Signature OffsetNegativeY

Returns:
Return type:NXOpen.Expression

New in version NX10.0.0.

License requirements: None.

OffsetNegativeZ

ToolingBoxBuilder.OffsetNegativeZ

Returns the offset value for box in -Z direction.

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

Getter Method

Signature OffsetNegativeZ

Returns:
Return type:NXOpen.Expression

New in version NX10.0.0.

License requirements: None.

OffsetPositiveX

ToolingBoxBuilder.OffsetPositiveX

Returns the offset value for box in +X direction.

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

Getter Method

Signature OffsetPositiveX

Returns:
Return type:NXOpen.Expression

New in version NX10.0.0.

License requirements: None.

OffsetPositiveY

ToolingBoxBuilder.OffsetPositiveY

Returns the offset value for box in +Y direction.

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

Getter Method

Signature OffsetPositiveY

Returns:
Return type:NXOpen.Expression

New in version NX10.0.0.

License requirements: None.

OffsetPositiveZ

ToolingBoxBuilder.OffsetPositiveZ

Returns the offset value for box in +Z direction.

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

Getter Method

Signature OffsetPositiveZ

Returns:
Return type:NXOpen.Expression

New in version NX10.0.0.

License requirements: None.

PositionPrecisionValue

ToolingBoxBuilder.PositionPrecisionValue

Returns or sets the precision value for the center point of bounded box

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

Getter Method

Signature PositionPrecisionValue

Returns:
Return type:float

New in version NX10.0.0.

License requirements: None.

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

Setter Method

Signature PositionPrecisionValue

Parameters:precisionValue (float) –

New in version NX10.0.0.

License requirements: ug_mold_design (“UG MOLD”) OR nx_electrode_wizard (“NX Electrode Wizard”) OR prog_die_wizard (“UG/Progressive Die Wizard”) OR studio_free_form (“STUDIO FREE FORM”) OR features_modeling (“FEATURES MODELING”) OR solid_modeling (“SOLIDS MODELING”)

PrecisionValue

ToolingBoxBuilder.PrecisionValue

Returns or sets the precision value for the size of bounded box

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

Getter Method

Signature PrecisionValue

Returns:
Return type:float

New in version NX10.0.0.

License requirements: None.

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

Setter Method

Signature PrecisionValue

Parameters:precisionValue (float) –

New in version NX10.0.0.

License requirements: ug_mold_design (“UG MOLD”) OR nx_electrode_wizard (“NX Electrode Wizard”) OR prog_die_wizard (“UG/Progressive Die Wizard”) OR studio_free_form (“STUDIO FREE FORM”) OR features_modeling (“FEATURES MODELING”) OR solid_modeling (“SOLIDS MODELING”)

RadialOffset

ToolingBoxBuilder.RadialOffset

Returns the radial offset value for cylinder box

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

Getter Method

Signature RadialOffset

Returns:
Return type:NXOpen.Expression

New in version NX10.0.0.

License requirements: None.

ReferenceCsysType

ToolingBoxBuilder.ReferenceCsysType

Returns or sets the reference csys type

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

Getter Method

Signature ReferenceCsysType

Returns:
Return type:NXOpen.Features.ToolingBoxBuilderRefCsysType

New in version NX10.0.0.

License requirements: None.

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

Setter Method

Signature ReferenceCsysType

Parameters:referenceType (NXOpen.Features.ToolingBoxBuilderRefCsysType) –

New in version NX10.0.0.

License requirements: ug_mold_design (“UG MOLD”) OR nx_electrode_wizard (“NX Electrode Wizard”) OR prog_die_wizard (“UG/Progressive Die Wizard”) OR studio_free_form (“STUDIO FREE FORM”) OR features_modeling (“FEATURES MODELING”) OR solid_modeling (“SOLIDS MODELING”)

ShowDimension

ToolingBoxBuilder.ShowDimension

Returns or sets the value indicate whether to show bounded box dimension or not during preview.

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

Getter Method

Signature ShowDimension

Returns:
Return type:bool

New in version NX11.0.0.

License requirements: None.

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

Setter Method

Signature ShowDimension

Parameters:csysAssociative (bool) –

New in version NX11.0.0.

License requirements: ug_mold_design (“UG MOLD”) OR nx_electrode_wizard (“NX Electrode Wizard”) OR prog_die_wizard (“UG/Progressive Die Wizard”) OR studio_free_form (“STUDIO FREE FORM”) OR features_modeling (“FEATURES MODELING”) OR solid_modeling (“SOLIDS MODELING”)

SingleOffset

ToolingBoxBuilder.SingleOffset

Returns or sets the option to control whether the handles operate individually or not.

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

Getter Method

Signature SingleOffset

Returns:
Return type:bool

New in version NX11.0.0.

License requirements: None.

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

Setter Method

Signature SingleOffset

Parameters:csysAssociative (bool) –

New in version NX11.0.0.

License requirements: ug_mold_design (“UG MOLD”) OR nx_electrode_wizard (“NX Electrode Wizard”) OR prog_die_wizard (“UG/Progressive Die Wizard”) OR studio_free_form (“STUDIO FREE FORM”) OR features_modeling (“FEATURES MODELING”) OR solid_modeling (“SOLIDS MODELING”)

Type

ToolingBoxBuilder.Type

Returns or sets the box type.

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

Getter Method

Signature Type

Returns:
Return type:NXOpen.Features.ToolingBoxBuilderTypes

New in version NX10.0.0.

License requirements: None.

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

Setter Method

Signature Type

Parameters:type (NXOpen.Features.ToolingBoxBuilderTypes) –

New in version NX10.0.0.

License requirements: ug_mold_design (“UG MOLD”) OR nx_electrode_wizard (“NX Electrode Wizard”) OR prog_die_wizard (“UG/Progressive Die Wizard”) OR studio_free_form (“STUDIO FREE FORM”) OR features_modeling (“FEATURES MODELING”) OR solid_modeling (“SOLIDS MODELING”)

XValue

ToolingBoxBuilder.XValue

Returns the edge length in X direction for general box.

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

Getter Method

Signature XValue

Returns:
Return type:NXOpen.Expression

New in version NX10.0.0.

License requirements: None.

YValue

ToolingBoxBuilder.YValue

Returns the edge length in Y direction for general box.

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

Getter Method

Signature YValue

Returns:
Return type:NXOpen.Expression

New in version NX10.0.0.

License requirements: None.

ZValue

ToolingBoxBuilder.ZValue

Returns the edge length in Z direction for general box.

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

Getter Method

Signature ZValue

Returns:
Return type:NXOpen.Expression

New in version NX10.0.0.

License requirements: None.

Method Detail

CalculateBoxSize

ToolingBoxBuilder.CalculateBoxSize

Calculate box size and set directions, edge length, lower point position.

Signature CalculateBoxSize()

New in version NX10.0.0.

License requirements: ug_mold_design (“UG MOLD”) OR nx_electrode_wizard (“NX Electrode Wizard”) OR prog_die_wizard (“UG/Progressive Die Wizard”) OR studio_free_form (“STUDIO FREE FORM”) OR features_modeling (“FEATURES MODELING”) OR solid_modeling (“SOLIDS MODELING”)

SetBoxMatrixAndPosition

ToolingBoxBuilder.SetBoxMatrixAndPosition

Sets box csys matrix.

Signature SetBoxMatrixAndPosition(matrix, position)

Parameters:

New in version NX10.0.0.

License requirements: ug_mold_design (“UG MOLD”) OR nx_electrode_wizard (“NX Electrode Wizard”) OR prog_die_wizard (“UG/Progressive Die Wizard”) OR studio_free_form (“STUDIO FREE FORM”) OR features_modeling (“FEATURES MODELING”) OR solid_modeling (“SOLIDS MODELING”)

SetSelectedOccurrences

ToolingBoxBuilder.SetSelectedOccurrences

Sets selected object occurrences.

Signature SetSelectedOccurrences(selections, deselections)

Parameters:

New in version NX10.0.0.

License requirements: ug_mold_design (“UG MOLD”) OR nx_electrode_wizard (“NX Electrode Wizard”) OR prog_die_wizard (“UG/Progressive Die Wizard”) OR studio_free_form (“STUDIO FREE FORM”) OR features_modeling (“FEATURES MODELING”) OR solid_modeling (“SOLIDS MODELING”)

Validate

ToolingBoxBuilder.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.