NX Open C++ Reference Guide
|
Represents a paint feature parameters builder. More...
Public Member Functions | |
std::vector< NXOpen::NXObject * > | GetCompatibleTargetObjectContainers (NXOpen::NXObject *sourceContainer, NXOpen::NXObject *targetObjTag) |
Find paintable object containers from targetObjTag. More... | |
bool | IsSourcePaintableObjectContainer (NXOpen::NXObject *containerObj) |
Check if this object contains paintable object. More... | |
void | SetTargetComponentSelection (bool targetComponentSelection) |
Sets the target component selection. More... | |
NXOpen::Features::SelectFeature * | SourceFeature () |
Returns the source feature Created in NX9.0.0. More... | |
NXOpen::SelectTaggedObject * | SourceObject () |
Returns the source paintable object Created in NX10.0.0. More... | |
NXOpen::Assemblies::SelectComponentList * | TargetComponents () |
Returns the target components that contain the target features. More... | |
bool | TargetComponentSelection () |
Returns the target component selection. More... | |
NXOpen::Features::SelectFeatureList * | TargetFeatures () |
Returns the target features Created in NX9.0.0. More... | |
NXOpen::SelectTaggedObjectList * | TargetObjects () |
Returns the target paintable objects Created in NX10.0.0. 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 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 NXOpen::Features::PaintParametersBuilder::TargetComponentSelection and NXOpen::Features::PaintParametersBuilder::SetTargetComponentSelection is set to true, all the features in the components, NXOpen::Features::PaintParametersBuilder::TargetComponents that are compatible for parameter painting with the source feature, NXOpen::Features::PaintParametersBuilder::SourceFeature would also be set as the target features.
To create a new instance of this class, use NXOpen::Features::FeatureCollection::CreatePaintParametersBuilder
Default values.
Property | Value |
---|---|
TargetComponentSelection |
0 |
Created in NX9.0.0.
std::vector<NXOpen::NXObject *> NXOpen::Features::PaintParametersBuilder::GetCompatibleTargetObjectContainers | ( | NXOpen::NXObject * | sourceContainer, |
NXOpen::NXObject * | targetObjTag | ||
) |
Find paintable object containers from targetObjTag.
sourceContainer | sourcecontainer |
targetObjTag | targetobjtag |
bool NXOpen::Features::PaintParametersBuilder::IsSourcePaintableObjectContainer | ( | NXOpen::NXObject * | containerObj | ) |
Check if this object contains paintable object.
containerObj | containerobj |
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, NXOpen::Features::PaintParametersBuilder::TargetComponents that are compatible for parameter painting with the source feature, NXOpen::Features::PaintParametersBuilder::SourceFeature 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::SelectTaggedObject* NXOpen::Features::PaintParametersBuilder::SourceObject | ( | ) |
Returns the source paintable object
Created in NX10.0.0.
License requirements : None
NXOpen::Assemblies::SelectComponentList* NXOpen::Features::PaintParametersBuilder::TargetComponents | ( | ) |
Returns the target components that contain the target features.
If NXOpen::Features::PaintParametersBuilder::TargetComponentSelection and NXOpen::Features::PaintParametersBuilder::SetTargetComponentSelection is set to true, all the features in these components, that are compatible for parameter painting with the source feature, NXOpen::Features::PaintParametersBuilder::SourceFeature 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, NXOpen::Features::PaintParametersBuilder::TargetComponents that are compatible for parameter painting with the source feature, NXOpen::Features::PaintParametersBuilder::SourceFeature 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
NXOpen::SelectTaggedObjectList* NXOpen::Features::PaintParametersBuilder::TargetObjects | ( | ) |
Returns the target paintable objects
Created in NX10.0.0.
License requirements : None