NX Open C++ Reference Guide
|
Remove Hole is used to patch holes for a solid body. More...
Public Types | |
enum | SelectionTypes { SelectionTypesBody, SelectionTypesFace } |
select object types, body or face More... | |
Public Member Functions | |
void | AddHolesData (const std::vector< NXOpen::Edge * > &edges, const std::vector< NXOpen::Face * > &faces) |
Add the hole data Created in NX8.5.0. More... | |
NXOpen::ScCollector * | BodySelection () |
Returns the body selection Created in NX8.5.0. More... | |
void | ClearHoleData () |
Clear all the hole data that was input to the builder. More... | |
NXOpen::ScCollector * | FaceToPatch () |
Returns the face to patch Created in NX8.5.0. More... | |
NXOpen::ScCollector * | HoleFace () |
Returns the hole faces Created in NX8.5.0. More... | |
bool | MergeOutput () |
Returns the reduce number of output features setting Created in NX8.5.0. More... | |
void | RemoveHoleData (const NXString &holeName) |
Remove the hole from hole data from builder. More... | |
void | RemoveHoleData (const char *holeName) |
Remove the hole from hole data from builder. More... | |
NXOpen::Tooling::RemoveHolesBuilder::SelectionTypes | SelectionType () |
Returns the selection type Created in NX8.5.0. More... | |
void | SetHighlight (NXOpen::NXObject *object, bool highlight) |
Set object highlight or unhighlight. More... | |
void | SetMergeOutput (bool mergeOutput) |
Sets the reduce number of output features setting Created in NX8.5.0. More... | |
void | SetSelectionType (NXOpen::Tooling::RemoveHolesBuilder::SelectionTypes selType) |
Sets the selection type Created in NX8.5.0. 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... | |
Remove Hole is used to patch holes for a solid body.
It returns a delete face feature tag when success and NULL_TAG when fail.
To create a new instance of this class, use NXOpen::Tooling::ProgressiveDieManager::CreateRemoveHolesBuilder
Default values.
Property | Value |
---|---|
MergeOutput |
0 |
SelectionType |
Body |
Created in NX8.5.0.
void NXOpen::Tooling::RemoveHolesBuilder::AddHolesData | ( | const std::vector< NXOpen::Edge * > & | edges, |
const std::vector< NXOpen::Face * > & | faces | ||
) |
Add the hole data
Created in NX8.5.0.
License requirements : prog_die_wizard ("UG/Progressive Die Wizard")
edges | the edges of the holes information |
faces | the faces of the holes information |
NXOpen::ScCollector* NXOpen::Tooling::RemoveHolesBuilder::BodySelection | ( | ) |
Returns the body selection
Created in NX8.5.0.
License requirements : None
void NXOpen::Tooling::RemoveHolesBuilder::ClearHoleData | ( | ) |
Clear all the hole data that was input to the builder.
Created in NX8.5.0.
License requirements : prog_die_wizard ("UG/Progressive Die Wizard")
NXOpen::ScCollector* NXOpen::Tooling::RemoveHolesBuilder::FaceToPatch | ( | ) |
Returns the face to patch
Created in NX8.5.0.
License requirements : None
NXOpen::ScCollector* NXOpen::Tooling::RemoveHolesBuilder::HoleFace | ( | ) |
Returns the hole faces
Created in NX8.5.0.
License requirements : None
bool NXOpen::Tooling::RemoveHolesBuilder::MergeOutput | ( | ) |
Returns the reduce number of output features setting
Created in NX8.5.0.
License requirements : None
void NXOpen::Tooling::RemoveHolesBuilder::RemoveHoleData | ( | const NXString & | holeName | ) |
Remove the hole from hole data from builder.
Created in NX8.5.0.
License requirements : prog_die_wizard ("UG/Progressive Die Wizard")
holeName | the hole name |
void NXOpen::Tooling::RemoveHolesBuilder::RemoveHoleData | ( | const char * | holeName | ) |
Remove the hole from hole data from builder.
Created in NX8.5.0.
License requirements : prog_die_wizard ("UG/Progressive Die Wizard")
holeName | the hole name |
NXOpen::Tooling::RemoveHolesBuilder::SelectionTypes NXOpen::Tooling::RemoveHolesBuilder::SelectionType | ( | ) |
Returns the selection type
Created in NX8.5.0.
License requirements : None
void NXOpen::Tooling::RemoveHolesBuilder::SetHighlight | ( | NXOpen::NXObject * | object, |
bool | highlight | ||
) |
Set object highlight or unhighlight.
Created in NX8.5.0.
License requirements : prog_die_wizard ("UG/Progressive Die Wizard")
object | the object to highlight or unhighlight. |
highlight | the status to highlight or unhighlight. |
void NXOpen::Tooling::RemoveHolesBuilder::SetMergeOutput | ( | bool | mergeOutput | ) |
Sets the reduce number of output features setting
Created in NX8.5.0.
License requirements : prog_die_wizard ("UG/Progressive Die Wizard")
mergeOutput | mergeoutput |
void NXOpen::Tooling::RemoveHolesBuilder::SetSelectionType | ( | NXOpen::Tooling::RemoveHolesBuilder::SelectionTypes | selType | ) |
Sets the selection type
Created in NX8.5.0.
License requirements : prog_die_wizard ("UG/Progressive Die Wizard")
selType | seltype |