NX Open C++ Reference Guide
|
Represents a Features::ColorFeatureGroupBuilder Represents a color feature group builder. More...
Public Types | |
enum | OperationType { OperationTypeSpecifyColor, OperationTypeNoColor } |
specify color or remove color type More... | |
enum | ProcessType { ProcessTypeNewFeatures, ProcessTypeAllMembers, ProcessTypeFirstLevelMembers } |
set color for new features only or set color and apply to all members More... | |
Public Member Functions | |
NXOpen::NXColor * | Color () |
Returns the color Created in NX8.5.0. | |
NXOpen::Features::ColorFeatureGroupBuilder::OperationType | Operation () |
Returns the color operation option. | |
NXOpen::Features::ColorFeatureGroupBuilder::ProcessType | Process () |
Returns the property to set color for new features only or set color and apply to all members Created in NX8.5.0. | |
NXOpen::Features::SelectFeatureList * | SelectFeature () |
Returns the features to color Created in NX8.5.0. | |
void | SetColor (NXOpen::NXColor *color) |
Sets the color Created in NX8.5.0. | |
void | SetOperation (NXOpen::Features::ColorFeatureGroupBuilder::OperationType colorOperation) |
Sets the color operation option. | |
void | SetProcess (NXOpen::Features::ColorFeatureGroupBuilder::ProcessType processType) |
Sets the property to set color for new features only or set color and apply to all members Created in NX8.5.0. | |
![]() | |
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 Features::ColorFeatureGroupBuilder Represents a color feature group builder.
The color feature group does not create a feature, but assists user to assign color to selected feature groups.
To create a new instance of this class, use Features::FeatureCollection::CreateColorFeatureGroupBuilder
Default values.
Property | Value |
---|---|
Operation |
SpecifyColor |
Process |
NewFeatures |
Created in NX8.5.0.
NXOpen::NXColor* NXOpen::Features::ColorFeatureGroupBuilder::Color | ( | ) |
Returns the color
Created in NX8.5.0.
License requirements : None
NXOpen::Features::ColorFeatureGroupBuilder::OperationType NXOpen::Features::ColorFeatureGroupBuilder::Operation | ( | ) |
Returns the color operation option.
If the option is Features::ColorFeatureGroupBuilder::OperationTypeSpecifyColor , assign valid color to feature. If the returned value is Features::ColorFeatureGroupBuilder::OperationTypeNoColor , remove color from feature
Created in NX8.5.0.
License requirements : None
NXOpen::Features::ColorFeatureGroupBuilder::ProcessType NXOpen::Features::ColorFeatureGroupBuilder::Process | ( | ) |
Returns the property to set color for new features only or set color and apply to all members
Created in NX8.5.0.
License requirements : None
NXOpen::Features::SelectFeatureList* NXOpen::Features::ColorFeatureGroupBuilder::SelectFeature | ( | ) |
Returns the features to color
Created in NX8.5.0.
License requirements : None
void NXOpen::Features::ColorFeatureGroupBuilder::SetColor | ( | NXOpen::NXColor * | color | ) |
Sets the color
Created in NX8.5.0.
License requirements : None
color | color |
void NXOpen::Features::ColorFeatureGroupBuilder::SetOperation | ( | NXOpen::Features::ColorFeatureGroupBuilder::OperationType | colorOperation | ) |
Sets the color operation option.
If the option is Features::ColorFeatureGroupBuilder::OperationTypeSpecifyColor , assign valid color to feature. If the returned value is Features::ColorFeatureGroupBuilder::OperationTypeNoColor , remove color from feature
Created in NX8.5.0.
License requirements : None
colorOperation | coloroperation |
void NXOpen::Features::ColorFeatureGroupBuilder::SetProcess | ( | NXOpen::Features::ColorFeatureGroupBuilder::ProcessType | processType | ) |
Sets the property to set color for new features only or set color and apply to all members
Created in NX8.5.0.
License requirements : None
processType | processtype |