ToolingBoxBuilder Class¶
-
class
NXOpen.Features.ToolingBoxBuilder¶ Bases:
NXOpen.Features.FeatureBuilderRepresents a
NXOpen.Features.ToolingBoxbuilderTo 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
AxisPointReturns: Return type: NXOpen.PointNew in version NX12.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AxisPointParameters: 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
AxisVectorReturns: Return type: NXOpen.DirectionNew in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AxisVectorParameters: 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
BoundedObjectReturns: Return type: NXOpen.ScCollectorNew in version NX10.0.0.
License requirements: None.
BoxColor¶
-
ToolingBoxBuilder.BoxColor¶ Returns or sets the box color.
-------------------------------------Getter Method
Signature
BoxColorReturns: Return type: Id New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
BoxColorParameters: 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
BoxPositionReturns: Return type: NXOpen.Point3dNew in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
BoxPositionParameters: 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
ClearanceReturns: Return type: NXOpen.ExpressionNew in version NX10.0.0.
License requirements: None.
CsysAssociative¶
-
ToolingBoxBuilder.CsysAssociative¶ Returns or sets the csys associative
-------------------------------------Getter Method
Signature
CsysAssociativeReturns: Return type: bool New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CsysAssociativeParameters: 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
CsysSelectionReturns: Return type: NXOpen.SelectCoordinateSystemNew in version NX10.0.0.
License requirements: None.
FacetBodies¶
-
ToolingBoxBuilder.FacetBodies¶ Returns the selected facet bodies.
-------------------------------------Getter Method
Signature
FacetBodiesReturns: Selected facet bodies. Return type: NXOpen.SelectNXObjectListNew 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
NonAlignedMinimumBoxReturns: Return type: bool New in version NX12.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
NonAlignedMinimumBoxParameters: 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
OffsetNegativeXReturns: Return type: NXOpen.ExpressionNew in version NX10.0.0.
License requirements: None.
OffsetNegativeY¶
-
ToolingBoxBuilder.OffsetNegativeY¶ Returns the offset value for box in -Y direction.
-------------------------------------Getter Method
Signature
OffsetNegativeYReturns: Return type: NXOpen.ExpressionNew in version NX10.0.0.
License requirements: None.
OffsetNegativeZ¶
-
ToolingBoxBuilder.OffsetNegativeZ¶ Returns the offset value for box in -Z direction.
-------------------------------------Getter Method
Signature
OffsetNegativeZReturns: Return type: NXOpen.ExpressionNew in version NX10.0.0.
License requirements: None.
OffsetPositiveX¶
-
ToolingBoxBuilder.OffsetPositiveX¶ Returns the offset value for box in +X direction.
-------------------------------------Getter Method
Signature
OffsetPositiveXReturns: Return type: NXOpen.ExpressionNew in version NX10.0.0.
License requirements: None.
OffsetPositiveY¶
-
ToolingBoxBuilder.OffsetPositiveY¶ Returns the offset value for box in +Y direction.
-------------------------------------Getter Method
Signature
OffsetPositiveYReturns: Return type: NXOpen.ExpressionNew in version NX10.0.0.
License requirements: None.
OffsetPositiveZ¶
-
ToolingBoxBuilder.OffsetPositiveZ¶ Returns the offset value for box in +Z direction.
-------------------------------------Getter Method
Signature
OffsetPositiveZReturns: Return type: NXOpen.ExpressionNew 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
PositionPrecisionValueReturns: Return type: float New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
PositionPrecisionValueParameters: 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
PrecisionValueReturns: Return type: float New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
PrecisionValueParameters: 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
RadialOffsetReturns: Return type: NXOpen.ExpressionNew in version NX10.0.0.
License requirements: None.
ReferenceCsysType¶
-
ToolingBoxBuilder.ReferenceCsysType¶ Returns or sets the reference csys type
-------------------------------------Getter Method
Signature
ReferenceCsysTypeReturns: Return type: NXOpen.Features.ToolingBoxBuilderRefCsysTypeNew in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ReferenceCsysTypeParameters: 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
ShowDimensionReturns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ShowDimensionParameters: 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
SingleOffsetReturns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SingleOffsetParameters: 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
TypeReturns: Return type: NXOpen.Features.ToolingBoxBuilderTypesNew in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
TypeParameters: 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
XValueReturns: Return type: NXOpen.ExpressionNew in version NX10.0.0.
License requirements: None.
YValue¶
-
ToolingBoxBuilder.YValue¶ Returns the edge length in Y direction for general box.
-------------------------------------Getter Method
Signature
YValueReturns: Return type: NXOpen.ExpressionNew in version NX10.0.0.
License requirements: None.
ZValue¶
-
ToolingBoxBuilder.ZValue¶ Returns the edge length in Z direction for general box.
-------------------------------------Getter Method
Signature
ZValueReturns: Return type: NXOpen.ExpressionNew 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: - matrix (
NXOpen.Matrix3x3) – - position (
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”)
- matrix (
SetSelectedOccurrences¶
-
ToolingBoxBuilder.SetSelectedOccurrences¶ Sets selected object occurrences.
Signature
SetSelectedOccurrences(selections, deselections)Parameters: - selections (list of
NXOpen.NXObject) – Last selected objects. - deselections (list of
NXOpen.NXObject) – Last deselected objects.
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”)
- selections (list of
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.