NX Open C++ Reference Guide
|
Represents a builder of optimize face <br> To create a new instance of this class, use @link Features::FeatureCollection::CreateOptimizeFaceBuilder Features::FeatureCollection::CreateOptimizeFaceBuilder @endlink <br>
Default values. More...
Public Member Functions | |
bool | CleanBody () |
Returns the clean body flag. | |
double | DistanceTolerance () |
Returns the distance tolerance Created in NX7.0.0. | |
NXOpen::ScCollector * | FacesToOptimize () |
Returns the faces to optimize Created in NX7.0.0. | |
bool | Report () |
Returns the report flag. | |
void | SetCleanBody (bool cleanBody) |
Sets the clean body flag. | |
void | SetDistanceTolerance (double distanceTolerance) |
Sets the distance tolerance Created in NX7.0.0. | |
void | SetReport (bool report) |
Sets the report flag. | |
![]() | |
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. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents a builder of optimize face <br> To create a new instance of this class, use @link Features::FeatureCollection::CreateOptimizeFaceBuilder Features::FeatureCollection::CreateOptimizeFaceBuilder @endlink <br>
Default values.
Property | Value |
---|---|
CleanBody |
1 |
Report |
1 |
Created in NX7.0.0.
bool NXOpen::Features::OptimizeFaceBuilder::CleanBody | ( | ) |
Returns the clean body flag.
If true, cleans body before optimization, else doesn't.
Created in NX7.0.0.
License requirements : None
double NXOpen::Features::OptimizeFaceBuilder::DistanceTolerance | ( | ) |
Returns the distance tolerance
Created in NX7.0.0.
License requirements : None
NXOpen::ScCollector* NXOpen::Features::OptimizeFaceBuilder::FacesToOptimize | ( | ) |
Returns the faces to optimize
Created in NX7.0.0.
License requirements : None
bool NXOpen::Features::OptimizeFaceBuilder::Report | ( | ) |
Returns the report flag.
If true, generates a report of changed faces and edges before and after the face optimization. If false, no report is generated.
Created in NX7.0.0.
License requirements : None
void NXOpen::Features::OptimizeFaceBuilder::SetCleanBody | ( | bool | cleanBody | ) |
Sets the clean body flag.
If true, cleans body before optimization, else doesn't.
Created in NX7.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE")
cleanBody | cleanbody |
void NXOpen::Features::OptimizeFaceBuilder::SetDistanceTolerance | ( | double | distanceTolerance | ) |
Sets the distance tolerance
Created in NX7.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE")
distanceTolerance | distancetolerance |
void NXOpen::Features::OptimizeFaceBuilder::SetReport | ( | bool | report | ) |
Sets the report flag.
If true, generates a report of changed faces and edges before and after the face optimization. If false, no report is generated.
Created in NX7.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE")
report | report |