NX Open C++ Reference Guide
|
Represents a paint feature parameters builder. More...
Public Member Functions | |
void | SetTargetComponentSelection (bool targetComponentSelection) |
Sets the target component selection. | |
NXOpen::Features::SelectFeature * | SourceFeature () |
Returns the source feature Created in NX9.0.0. | |
NXOpen::Assemblies::SelectComponentList * | TargetComponents () |
Returns the target components that contain the target features. | |
bool | TargetComponentSelection () |
Returns the target component selection. | |
NXOpen::Features::SelectFeatureList * | TargetFeatures () |
Returns the target features Created in NX9.0.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 paint feature parameters builder.
The paint parameters does not create a feature, but assists to copy parameters from one feature, called source feature, and apply them to other features, called target features. Features Parameters would be copied from the source feature to the target features. If PaintParametersBuilder::TargetComponentSelection and PaintParametersBuilder::SetTargetComponentSelection is set to true, all the features in the components, PaintParametersBuilder::TargetComponents and PaintParametersBuilder::SetTargetComponents that are compatible for parameter painting with the source feature, PaintParametersBuilder::SourceFeature and PaintParametersBuilder::SetSourceFeature would also be set as the target features.
To create a new instance of this class, use Features::FeatureCollection::CreatePaintParametersBuilder
Default values.
Property | Value |
---|---|
TargetComponentSelection |
0 |
Created in NX9.0.0.
void NXOpen::Features::PaintParametersBuilder::SetTargetComponentSelection | ( | bool | targetComponentSelection | ) |
Sets the target component selection.
When this property is set to true, all the features in the components, PaintParametersBuilder::TargetComponents and PaintParametersBuilder::SetTargetComponents that are compatible for parameter painting with the source feature, PaintParametersBuilder::SourceFeature and PaintParametersBuilder::SetSourceFeature would also be set as the target features.
Created in NX9.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
targetComponentSelection | targetcomponentselection |
NXOpen::Features::SelectFeature* NXOpen::Features::PaintParametersBuilder::SourceFeature | ( | ) |
Returns the source feature
Created in NX9.0.0.
License requirements : None
NXOpen::Assemblies::SelectComponentList* NXOpen::Features::PaintParametersBuilder::TargetComponents | ( | ) |
Returns the target components that contain the target features.
If @link PaintParametersBuilder::TargetComponentSelection PaintParametersBuilder::TargetComponentSelection @endlink and @link PaintParametersBuilder::SetTargetComponentSelection PaintParametersBuilder::SetTargetComponentSelection @endlink is set to true, all the features in these components, that are compatible for parameter painting with the source feature, @link PaintParametersBuilder::SourceFeature PaintParametersBuilder::SourceFeature @endlink and @link PaintParametersBuilder::SetSourceFeature PaintParametersBuilder::SetSourceFeature @endlink would also be set as the target features.
Created in NX9.0.0.
License requirements : None
bool NXOpen::Features::PaintParametersBuilder::TargetComponentSelection | ( | ) |
Returns the target component selection.
When this property is set to true, all the features in the components, PaintParametersBuilder::TargetComponents and PaintParametersBuilder::SetTargetComponents that are compatible for parameter painting with the source feature, PaintParametersBuilder::SourceFeature and PaintParametersBuilder::SetSourceFeature would also be set as the target features.
Created in NX9.0.0.
License requirements : None
NXOpen::Features::SelectFeatureList* NXOpen::Features::PaintParametersBuilder::TargetFeatures | ( | ) |
Returns the target features
Created in NX9.0.0.
License requirements : None