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

Represents a NXOpen::Features::ColorFeatureGroupBuilder Represents a color feature group builder. More...

Inheritance diagram for NXOpen::Features::ColorFeatureGroupBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

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::NXColorColor ()
 Returns the color
Created in NX8.5.0. More...
 
NXOpen::Features::ColorFeatureGroupBuilder::OperationType Operation ()
 Returns the color operation option. More...
 
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. More...
 
NXOpen::Features::SelectFeatureListSelectFeature ()
 Returns the features to color
Created in NX8.5.0. More...
 
void SetColor (NXOpen::NXColor *color)
 Sets the color
Created in NX8.5.0. More...
 
void SetOperation (NXOpen::Features::ColorFeatureGroupBuilder::OperationType colorOperation)
 Sets the color operation option. More...
 
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. 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::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 NXOpen::Features::FeatureCollection::CreateColorFeatureGroupBuilder
Default values.

Property Value

Operation

SpecifyColor

Process

NewFeatures


Created in NX8.5.0.

Member Enumeration Documentation

specify color or remove color type

Enumerator
OperationTypeSpecifyColor 

assign color to feature

OperationTypeNoColor 

remove color from feature

set color for new features only or set color and apply to all members

Enumerator
ProcessTypeNewFeatures 

set color for new features only

ProcessTypeAllMembers 

set color and apply to all members

ProcessTypeFirstLevelMembers 

set color and apply to first level members

Member Function Documentation

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 NXOpen::Features::ColorFeatureGroupBuilder::OperationTypeSpecifyColor , assign valid color to feature. If the returned value is NXOpen::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

Parameters
colorcolor
void NXOpen::Features::ColorFeatureGroupBuilder::SetOperation ( NXOpen::Features::ColorFeatureGroupBuilder::OperationType  colorOperation)

Sets the color operation option.

If the option is NXOpen::Features::ColorFeatureGroupBuilder::OperationTypeSpecifyColor , assign valid color to feature. If the returned value is NXOpen::Features::ColorFeatureGroupBuilder::OperationTypeNoColor , remove color from feature
Created in NX8.5.0.

License requirements : None

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

Parameters
processTypeprocesstype

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