|
NX Open C++ Reference Guide
|
Represents a box creation operation <br> To create a new instance of this class, use @link Tooling::CreateBoxCollection::CreateBoxBuilder Tooling::CreateBoxCollection::CreateBoxBuilder @endlink <br>
Default values. More...
Public Types | |
| enum | BoxType { BoxTypeGeneral, BoxTypeBounding } |
| the type for creating box More... | |
Public Member Functions | |
| int | BoxColor () |
| Returns the box color. | |
| NXOpen::Expression * | Clearance () |
| 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::NXObject * | GetBoxFeatTag () |
| Gets kf box feature tag. | |
| NXOpen::ScCollector * | Objects () |
| Returns the objects used for bounding box creation. | |
| NXOpen::Expression * | OffsetNegativeX () |
| Returns the offset value for box in -X direction. | |
| NXOpen::Expression * | OffsetNegativeY () |
| Returns the offset value for box in -Y direction. | |
| NXOpen::Expression * | OffsetNegativeZ () |
| Returns the offset value for box in -Z direction. | |
| NXOpen::Expression * | OffsetPositiveX () |
| Returns the offset value for box in +X direction. | |
| NXOpen::Expression * | OffsetPositiveY () |
| Returns the offset value for box in +Y direction. | |
| NXOpen::Expression * | OffsetPositiveZ () |
| 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::Expression * | XValue () |
| Returns the edge length in X direction for general box. | |
| NXOpen::Expression * | YValue () |
| Returns the edge length in Y direction for general box. | |
| NXOpen::Expression * | ZValue () |
| Returns the edge length in Z direction for general box. | |
Public Member Functions inherited from NXOpen::Builder | |
| NXOpen::NXObject * | Commit () |
| Commits any edits that have been applied to the builder. | |
| void | Destroy () |
| Deletes the builder, and cleans up any objects created by the builder. | |
| std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
| For builders that create more than one object, this method returns the objects that are created by commit. | |
| NXOpen::NXObject * | GetObject () |
| Returns the object currently being edited by this builder. | |
| void | ShowResults () |
| Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
| virtual bool | Validate () |
| Validate whether the inputs to the component are sufficient for commit to be called. | |
Public Member Functions inherited from NXOpen::TaggedObject | |
| tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
| tag_t | Tag () const |
| Returns the tag of this object. | |
Represents a box creation operation <br> To create a new instance of this class, use @link Tooling::CreateBoxCollection::CreateBoxBuilder Tooling::CreateBoxCollection::CreateBoxBuilder @endlink <br>
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.
| int NXOpen::Tooling::CreateBoxBuilder::BoxColor | ( | ) |
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")
| NXOpen::Expression* NXOpen::Tooling::CreateBoxBuilder::Clearance | ( | ) |
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")
| void NXOpen::Tooling::CreateBoxBuilder::ConvertFrecToBuilderData | ( | NXOpen::NXObject * | featTag | ) |
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") OR nx_freeform_2 ("advanced freeform modeling")
| featTag | bounding box kf feature tag |
| NXOpen::Point3d NXOpen::Tooling::CreateBoxBuilder::GetBoxCsysPosition | ( | ) |
Gets point position of csys for box.
| NXOpen::NXObject* NXOpen::Tooling::CreateBoxBuilder::GetBoxFeatTag | ( | ) |
Gets kf box feature tag.
| NXOpen::ScCollector* NXOpen::Tooling::CreateBoxBuilder::Objects | ( | ) |
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")
| NXOpen::Expression* NXOpen::Tooling::CreateBoxBuilder::OffsetNegativeX | ( | ) |
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")
| NXOpen::Expression* NXOpen::Tooling::CreateBoxBuilder::OffsetNegativeY | ( | ) |
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")
| NXOpen::Expression* NXOpen::Tooling::CreateBoxBuilder::OffsetNegativeZ | ( | ) |
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")
| NXOpen::Expression* NXOpen::Tooling::CreateBoxBuilder::OffsetPositiveX | ( | ) |
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")
| NXOpen::Expression* NXOpen::Tooling::CreateBoxBuilder::OffsetPositiveY | ( | ) |
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")
| NXOpen::Expression* NXOpen::Tooling::CreateBoxBuilder::OffsetPositiveZ | ( | ) |
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")
| void NXOpen::Tooling::CreateBoxBuilder::SetBoxColor | ( | int | colorValue | ) |
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") OR nx_freeform_2 ("advanced freeform modeling")
| colorValue | colorvalue |
| void NXOpen::Tooling::CreateBoxBuilder::SetBoxColorValue | ( | const NXOpen::Point3d & | value | ) |
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") OR nx_freeform_2 ("advanced freeform modeling")
| value | value |
| void NXOpen::Tooling::CreateBoxBuilder::SetBoxCsysPosition | ( | const NXOpen::Point3d & | value | ) |
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") OR nx_freeform_2 ("advanced freeform modeling")
| value | value |
| void NXOpen::Tooling::CreateBoxBuilder::SetBoxMatrixAndPosition | ( | const NXOpen::Matrix3x3 & | matrix, |
| const NXOpen::Point3d & | position | ||
| ) |
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") OR nx_freeform_2 ("advanced freeform modeling")
| matrix | matrix |
| position | position |
| 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") OR nx_freeform_2 ("advanced freeform modeling")
| selections | Last selected objects. |
| deselections | Last deselected objects. |
| void NXOpen::Tooling::CreateBoxBuilder::SetType | ( | NXOpen::Tooling::CreateBoxBuilder::BoxType | type | ) |
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") OR nx_freeform_2 ("advanced freeform modeling")
| type | type |
| NXOpen::Tooling::CreateBoxBuilder::BoxType NXOpen::Tooling::CreateBoxBuilder::Type | ( | ) |
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")
| NXOpen::Expression* NXOpen::Tooling::CreateBoxBuilder::XValue | ( | ) |
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")
| NXOpen::Expression* NXOpen::Tooling::CreateBoxBuilder::YValue | ( | ) |
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")
| NXOpen::Expression* NXOpen::Tooling::CreateBoxBuilder::ZValue | ( | ) |
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")