NX Open C++ Reference Guide
|
Represents a Feature Builder to be used in the creation and modification of features. More...
Public Member Functions | |
NXOpen::Features::Feature * | CommitFeature () |
Commits the feature parameters and creates the feature. | |
NXOpen::Features::Feature * | GetFeature () |
Returns the feature currently being edited by this builder. | |
void | HideInternalParentFeatureAfterEdit (NXOpen::Features::Feature *parentFeature) |
Re-suppress an internal parent feature (a slave feature) after it has been edited. | |
bool | ParentFeatureInternal () |
Returns whether or not the latest timestamped parent feature of this feature should be made internal Created in NX5.0.0. | |
void | SetParentFeatureInternal (NXOpen::Features::Feature *parentFeature) |
Set the parent features which would be internal or slaves to the feature being created or commited Created in NX6.0.0. | |
void | SetParentFeatureInternal (bool isInternal) |
Sets whether or not the latest timestamped parent feature of this feature should be made internal Created in NX5.0.0. | |
void | ShowInternalParentFeatureForEdit (NXOpen::Features::Feature *parentFeature) |
Unsuppress an internal parent feature (a slave feature) so it can be edited. | |
void | UnsetParentFeatureInternal (NXOpen::Features::Feature *parentFeature) |
Set the internal parent feature of the feature being edited to external Created in NX6.0.0. |
Represents a Feature Builder to be used in the creation and modification of features.
Feature Builders manage the steps needed to correctly create features on a part.
This is an abstract class, and cannot be instantiated.
Created in NX3.0.0.
Commits the feature parameters and creates the feature.
Returns the feature currently being edited by this builder.
If a new feature is being created, and the builder has not yet been commited, returns NULL.
void NXOpen::Features::FeatureBuilder::HideInternalParentFeatureAfterEdit | ( | NXOpen::Features::Feature * | parentFeature | ) |
Re-suppress an internal parent feature (a slave feature) after it has been edited.
Note that this method will do nothing if ShowInternalParentFeatureForEdit has not previously been called. Also note that this action will happen automatically when the feature builder is destroyed so calling this method is not strictly necessary.
Created in NX8.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
parentFeature | Slave feature |
Returns whether or not the latest timestamped parent feature of this feature should be made internal
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
void NXOpen::Features::FeatureBuilder::SetParentFeatureInternal | ( | NXOpen::Features::Feature * | parentFeature | ) |
Set the parent features which would be internal or slaves to the feature being created or commited
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
parentFeature | Slave feature |
void NXOpen::Features::FeatureBuilder::SetParentFeatureInternal | ( | bool | isInternal | ) |
Sets whether or not the latest timestamped parent feature of this feature should be made internal
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
isInternal | True = internal, False = external |
void NXOpen::Features::FeatureBuilder::ShowInternalParentFeatureForEdit | ( | NXOpen::Features::Feature * | parentFeature | ) |
Unsuppress an internal parent feature (a slave feature) so it can be edited.
Created in NX8.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
parentFeature | Slave feature |
void NXOpen::Features::FeatureBuilder::UnsetParentFeatureInternal | ( | NXOpen::Features::Feature * | parentFeature | ) |
Set the internal parent feature of the feature being edited to external
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
parentFeature | Slave feature |