NX Open C++ Reference Guide
|
Represents a replace solid operation. More...
Public Member Functions | |
NXOpen::Tooling::CreateBoxBuilder * | BoundingBoxBuilder () |
Returns the bounding box feature builder. More... | |
bool | BoxFaceToggle () |
Returns the face used for box creation. More... | |
NXOpen::Expression * | Clearance () |
Returns the clearance value for box in six directions. More... | |
void | EditBox () |
Edit bounding box. More... | |
bool | FaceReverseDirection () |
Returns the face reverse direction status. More... | |
NXOpen::Features::ToolingBoxBuilder * | GetBoundedBoxBuilder () |
Asks the new bounded box feature builder. More... | |
bool | RemoveParameter () |
Returns the option to remove parameter after feature creation. More... | |
void | ReverseFaceDirectionCallBack (NXOpen::NXObject *faceEid, int state) |
Update face information when set to reverse face direction. More... | |
NXOpen::SelectFaceList * | SelFace () |
Returns the selected replacement face. More... | |
void | SetBoundedBoxBuilder (NXOpen::Features::ToolingBoxBuilder *boxBuilder) |
Sets the new bounded box feature builder. More... | |
void | SetBoundingBoxBuilder (NXOpen::Tooling::CreateBoxBuilder *boxBuilder) |
Sets the bounding box feature builder. More... | |
void | SetBoxFaceToggle (bool boxFaceToggle) |
Sets the face used for box creation. More... | |
void | SetFaceReverseDirection (bool faceReverseDirection) |
Sets the face reverse direction status. More... | |
void | SetRemoveParameter (bool removeParameter) |
Sets the option to remove parameter after feature creation. More... | |
void | UpdateFaceListState (NXOpen::NXObject *faceEid, int reverse, int faceForBoxFlag, int action) |
Update face state in ReplaceSolidFaceList. More... | |
void | UpdateForFaceChange () |
Update bounding box and face information. More... | |
Public Member Functions inherited from NXOpen::Builder | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. More... | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. More... | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. More... | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. More... | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. More... | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. More... | |
Public Member Functions inherited from NXOpen::TaggedObject | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
Represents a replace solid operation.
To create a new instance of this class, use NXOpen::Tooling::ReplaceSolidCollection::CreateReplaceSolidBuilder
Default values.
Property | Value |
---|---|
BoundingBoxBuilder.Clearance.Value (deprecated) |
1.0 (millimeters part), 0.1 (inches part) |
BoundingBoxBuilder.OffsetNegativeX.Value (deprecated) |
1.0 (millimeters part), 0.1 (inches part) |
BoundingBoxBuilder.OffsetNegativeY.Value (deprecated) |
1.0 (millimeters part), 0.1 (inches part) |
BoundingBoxBuilder.OffsetNegativeZ.Value (deprecated) |
1.0 (millimeters part), 0.1 (inches part) |
BoundingBoxBuilder.OffsetPositiveX.Value (deprecated) |
1.0 (millimeters part), 0.1 (inches part) |
BoundingBoxBuilder.OffsetPositiveY.Value (deprecated) |
1.0 (millimeters part), 0.1 (inches part) |
BoundingBoxBuilder.OffsetPositiveZ.Value (deprecated) |
1.0 (millimeters part), 0.1 (inches part) |
BoundingBoxBuilder.XValue.Value (deprecated) |
10 (millimeters part), 1.0 (inches part) |
BoundingBoxBuilder.YValue.Value (deprecated) |
10 (millimeters part), 1.0 (inches part) |
BoundingBoxBuilder.ZValue.Value (deprecated) |
10 (millimeters part), 1.0 (inches part) |
BoxFaceToggle |
1 |
RemoveParameter |
0 |
Created in NX8.0.0.
NXOpen::Tooling::CreateBoxBuilder* NXOpen::Tooling::ReplaceSolidBuilder::BoundingBoxBuilder | ( | ) |
Returns the bounding box feature 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")
bool NXOpen::Tooling::ReplaceSolidBuilder::BoxFaceToggle | ( | ) |
Returns the face used for 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::ReplaceSolidBuilder::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::ReplaceSolidBuilder::EditBox | ( | ) |
Edit bounding 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")
bool NXOpen::Tooling::ReplaceSolidBuilder::FaceReverseDirection | ( | ) |
Returns the face reverse direction status.
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::Features::ToolingBoxBuilder* NXOpen::Tooling::ReplaceSolidBuilder::GetBoundedBoxBuilder | ( | ) |
Asks the new bounded box feature builder.
bool NXOpen::Tooling::ReplaceSolidBuilder::RemoveParameter | ( | ) |
Returns the option to remove parameter after feature 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")
void NXOpen::Tooling::ReplaceSolidBuilder::ReverseFaceDirectionCallBack | ( | NXOpen::NXObject * | faceEid, |
int | state | ||
) |
Update face information when set to reverse face 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")
faceEid | placement face eid |
state | state for reverse face direction |
NXOpen::SelectFaceList* NXOpen::Tooling::ReplaceSolidBuilder::SelFace | ( | ) |
Returns the selected replacement face.
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::ReplaceSolidBuilder::SetBoundedBoxBuilder | ( | NXOpen::Features::ToolingBoxBuilder * | boxBuilder | ) |
Sets the new bounded box feature builder.
Created in 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")
boxBuilder | boxbuilder |
void NXOpen::Tooling::ReplaceSolidBuilder::SetBoundingBoxBuilder | ( | NXOpen::Tooling::CreateBoxBuilder * | boxBuilder | ) |
Sets the bounding box feature 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")
boxBuilder | boxbuilder |
void NXOpen::Tooling::ReplaceSolidBuilder::SetBoxFaceToggle | ( | bool | boxFaceToggle | ) |
Sets the face used for 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")
boxFaceToggle | boxfacetoggle |
void NXOpen::Tooling::ReplaceSolidBuilder::SetFaceReverseDirection | ( | bool | faceReverseDirection | ) |
Sets the face reverse direction status.
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")
faceReverseDirection | facereversedirection |
void NXOpen::Tooling::ReplaceSolidBuilder::SetRemoveParameter | ( | bool | removeParameter | ) |
Sets the option to remove parameter after feature 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")
removeParameter | removeparameter |
void NXOpen::Tooling::ReplaceSolidBuilder::UpdateFaceListState | ( | NXOpen::NXObject * | faceEid, |
int | reverse, | ||
int | faceForBoxFlag, | ||
int | action | ||
) |
Update face state in ReplaceSolidFaceList.
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")
faceEid | placement face eid |
reverse | flag for reverse face direction,0–not reversed, 1–reversed, -1–no change |
faceForBoxFlag | face for creating box flag, 0–not , 1–yes, -1–no change |
action | action type, 0–add, 1–modify, -1–remove |
void NXOpen::Tooling::ReplaceSolidBuilder::UpdateForFaceChange | ( | ) |
Update bounding box and face information.
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")