NX Open C++ Reference Guide
|
Represents a NXOpen::SuppressByExpressionBuilder
To create a new instance of this class, use NXOpen::ExpressionCollection::CreateSuppressByExpressionBuilder
Default values.
More...
Public Types | |
enum | ExpressionAction { ExpressionActionCreateEach, ExpressionActionCreateShared, ExpressionActionDeleteEach, ExpressionActionDeleteShared } |
Represents the expression action type. More... | |
Public Member Functions | |
NXOpen::Features::SelectFeatureList * | FeatureList () |
Returns the feautre list. More... | |
void | SetSuppressAction (NXOpen::SuppressByExpressionBuilder::ExpressionAction suppressAction) |
Sets the suppress expression action. More... | |
NXOpen::SuppressByExpressionBuilder::ExpressionAction | SuppressAction () |
Returns the suppress expression action. 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 NXOpen::SuppressByExpressionBuilder
To create a new instance of this class, use NXOpen::ExpressionCollection::CreateSuppressByExpressionBuilder
Default values.
Property | Value |
---|---|
SuppressAction |
CreateEach |
Created in NX5.0.0.
Represents the expression action type.
NXOpen::Features::SelectFeatureList* NXOpen::SuppressByExpressionBuilder::FeatureList | ( | ) |
Returns the feautre list.
For create each and create shared options, the selected features must not have pre existing suppress expressions. For delete each option, the selected features must have associated suppress expressions. If the expression is being shared by multiple features, the expression will be deleted only for the selected feature. For delete shared option, the complete group that shares a single expression must be selected.
Created in NX5.0.0.
License requirements : None
void NXOpen::SuppressByExpressionBuilder::SetSuppressAction | ( | NXOpen::SuppressByExpressionBuilder::ExpressionAction | suppressAction | ) |
Sets the suppress expression action.
This enumeration decides the action to be taken on the selected group of features. A suppress expression can created per feature or as shared expression for a group of features. The expressions can be deleted individually for all features that have suppress expressions associated. For a group of features sharing an expression, the expression can also be deleted from the whole group.
Created in NX5.0.0.
License requirements : None
suppressAction | suppressaction |
NXOpen::SuppressByExpressionBuilder::ExpressionAction NXOpen::SuppressByExpressionBuilder::SuppressAction | ( | ) |
Returns the suppress expression action.
This enumeration decides the action to be taken on the selected group of features. A suppress expression can created per feature or as shared expression for a group of features. The expressions can be deleted individually for all features that have suppress expressions associated. For a group of features sharing an expression, the expression can also be deleted from the whole group.
Created in NX5.0.0.
License requirements : None