NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::Tooling::CreateBoxBuilder Class Reference

Represents a box creation operation
To create a new instance of this class, use Tooling::CreateBoxCollection::CreateBoxBuilder
Default values. More...

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

List of all members.

Public Types

enum  BoxType { BoxTypeGeneral, BoxTypeBounding }
 the type for creating box More...

Public Member Functions

int BoxColor ()
 Returns the box color.
NXOpen::ExpressionClearance ()
 Returns the clearance value for box in six directions.
void ConvertFrecToBuilderData (NXOpen::NXObject *featTag)
 Convert feature record data to builder.
NXOpen::Point3d GetBoxCsysPosition ()
 Gets point position of csys for box.
NXOpen::NXObjectGetBoxFeatTag ()
 Gets kf box feature tag.
NXOpen::ScCollectorObjects ()
 Returns the objects used for bounding box creation.
NXOpen::ExpressionOffsetNegativeX ()
 Returns the offset value for box in -X direction.
NXOpen::ExpressionOffsetNegativeY ()
 Returns the offset value for box in -Y direction.
NXOpen::ExpressionOffsetNegativeZ ()
 Returns the offset value for box in -Z direction.
NXOpen::ExpressionOffsetPositiveX ()
 Returns the offset value for box in +X direction.
NXOpen::ExpressionOffsetPositiveY ()
 Returns the offset value for box in +Y direction.
NXOpen::ExpressionOffsetPositiveZ ()
 Returns the offset value for box in +Z direction.
void SetBoxColor (int colorValue)
 Sets the box color.
void SetBoxColorValue (const NXOpen::Point3d &value)
 Sets box color.
void SetBoxCsysPosition (const NXOpen::Point3d &value)
 Sets point position of csys for box.
void SetBoxMatrixAndPosition (const NXOpen::Matrix3x3 &matrix, const NXOpen::Point3d &position)
 Sets box csys matrix.
void SetSelectedOccs (const std::vector< NXOpen::NXObject * > &selections, const std::vector< NXOpen::NXObject * > &deselections)
 Sets selected object occurrences.
void SetType (NXOpen::Tooling::CreateBoxBuilder::BoxType type)
 Sets the box type.
NXOpen::Tooling::CreateBoxBuilder::BoxType Type ()
 Returns the box type.
NXOpen::ExpressionXValue ()
 Returns the edge length in X direction for general box.
NXOpen::ExpressionYValue ()
 Returns the edge length in Y direction for general box.
NXOpen::ExpressionZValue ()
 Returns the edge length in Z direction for general box.

Detailed Description

Represents a box creation operation
To create a new instance of this class, use Tooling::CreateBoxCollection::CreateBoxBuilder
Default values.

Property Value

Clearance.Value

1.0 (millimeters part), 0.1 (inches part)

OffsetNegativeX.Value

1.0 (millimeters part), 0.1 (inches part)

OffsetNegativeY.Value

1.0 (millimeters part), 0.1 (inches part)

OffsetNegativeZ.Value

1.0 (millimeters part), 0.1 (inches part)

OffsetPositiveX.Value

1.0 (millimeters part), 0.1 (inches part)

OffsetPositiveY.Value

1.0 (millimeters part), 0.1 (inches part)

OffsetPositiveZ.Value

1.0 (millimeters part), 0.1 (inches part)

XValue.Value

10 (millimeters part), 1.0 (inches part)

YValue.Value

10 (millimeters part), 1.0 (inches part)

ZValue.Value

10 (millimeters part), 1.0 (inches part)


Created in NX8.0.0.


Member Enumeration Documentation

the type for creating box

Enumerator:
BoxTypeGeneral 

general box

BoxTypeBounding 

bounding box


Member Function Documentation

Returns the box color.


Created in NX8.0.0.

License requirements : ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

Returns the clearance value for box in six directions.


Created in NX8.0.0.

License requirements : ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

Convert feature record data to builder.


Created in NX8.0.0.

License requirements : ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

Parameters:
featTagbounding box kf feature tag

Gets point position of csys for box.

Returns:

Created in NX8.0.0.

License requirements : ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

Gets kf box feature tag.

Returns:
bounding box kf feature
Created in NX8.0.0.

License requirements : ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

Returns the objects used for bounding box creation.


Created in NX8.0.0.

License requirements : ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

Returns the offset value for box in -X direction.


Created in NX8.0.0.

License requirements : ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

Returns the offset value for box in -Y direction.


Created in NX8.0.0.

License requirements : ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

Returns the offset value for box in -Z direction.


Created in NX8.0.0.

License requirements : ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

Returns the offset value for box in +X direction.


Created in NX8.0.0.

License requirements : ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

Returns the offset value for box in +Y direction.


Created in NX8.0.0.

License requirements : ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

Returns the offset value for box in +Z direction.


Created in NX8.0.0.

License requirements : ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

Sets the box color.


Created in NX8.0.0.

License requirements : ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

Parameters:
colorValuecolorvalue

Sets box color.


Created in NX8.0.0.

License requirements : ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

Parameters:
valuevalue

Sets point position of csys for box.


Created in NX8.0.0.

License requirements : ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

Parameters:
valuevalue

Sets box csys matrix.


Created in NX8.0.0.

License requirements : ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

Parameters:
matrixmatrix
positionposition
void NXOpen::Tooling::CreateBoxBuilder::SetSelectedOccs ( const std::vector< NXOpen::NXObject * > &  selections,
const std::vector< NXOpen::NXObject * > &  deselections 
)

Sets selected object occurrences.


Created in NX8.0.0.

License requirements : ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

Parameters:
selectionsLast selected objects.
deselectionsLast deselected objects.

Sets the box type.


Created in NX8.0.0.

License requirements : ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

Parameters:
typetype

Returns the box type.


Created in NX8.0.0.

License requirements : ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

Returns the edge length in X direction for general box.


Created in NX8.0.0.

License requirements : ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

Returns the edge length in Y direction for general box.


Created in NX8.0.0.

License requirements : ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")

Returns the edge length in Z direction for general box.


Created in NX8.0.0.

License requirements : ug_mold_design ("UG MOLD") OR nx_electrode_wizard ("NX Electrode Wizard") OR prog_die_wizard ("UG/Progressive Die Wizard")


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