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

Represents a NXOpen::SuppressByExpressionBuilder
To create a new instance of this class, use NXOpen::ExpressionCollection::CreateSuppressByExpressionBuilder
Default values. More...

Inheritance diagram for NXOpen::SuppressByExpressionBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Types

enum  ExpressionAction { ExpressionActionCreateEach, ExpressionActionCreateShared, ExpressionActionDeleteEach, ExpressionActionDeleteShared }
 Represents the expression action type. More...
 

Public Member Functions

NXOpen::Features::SelectFeatureListFeatureList ()
 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::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

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.

Member Enumeration Documentation

Represents the expression action type.

Enumerator
ExpressionActionCreateEach 

Create one expression per feature.

ExpressionActionCreateShared 

Create one common expression for all features.

ExpressionActionDeleteEach 

Delete expression of one feature.

ExpressionActionDeleteShared 

Delete the common expression being shared by group of features.

Member Function Documentation

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

Parameters
suppressActionsuppressaction
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


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