NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::Tooling::RemoveHolesBuilder Class Reference

Remove Hole is used to patch holes for a solid body. More...

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

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::ScCollectorBodySelection ()
 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::ScCollectorFaceToPatch ()
 Returns the face to patch
Created in NX8.5.0. More...
 
NXOpen::ScCollectorHoleFace ()
 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::NXObjectCommit ()
 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::NXObjectGetObject ()
 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...
 

Detailed Description

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.

Member Enumeration Documentation

select object types, body or face

Enumerator
SelectionTypesBody 

select body type

SelectionTypesFace 

select face type

Member Function Documentation

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")

Parameters
edgesthe edges of the holes information
facesthe 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")

Parameters
holeNamethe 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")

Parameters
holeNamethe 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")

Parameters
objectthe object to highlight or unhighlight.
highlightthe 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")

Parameters
mergeOutputmergeoutput
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")

Parameters
selTypeseltype

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