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

Represents a paint feature parameters builder. More...

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

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::SelectFeatureSourceFeature ()
 Returns the source feature
Created in NX9.0.0. More...
 
NXOpen::SelectTaggedObjectSourceObject ()
 Returns the source paintable object
Created in NX10.0.0. More...
 
NXOpen::Assemblies::SelectComponentListTargetComponents ()
 Returns the target components that contain the target features. More...
 
bool TargetComponentSelection ()
 Returns the target component selection. More...
 
NXOpen::Features::SelectFeatureListTargetFeatures ()
 Returns the target features
Created in NX9.0.0. More...
 
NXOpen::SelectTaggedObjectListTargetObjects ()
 Returns the target paintable objects
Created in NX10.0.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 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.

Member Function Documentation

std::vector<NXOpen::NXObject *> NXOpen::Features::PaintParametersBuilder::GetCompatibleTargetObjectContainers ( NXOpen::NXObject sourceContainer,
NXOpen::NXObject targetObjTag 
)

Find paintable object containers from targetObjTag.

Returns

Created in NX10.0.0.

License requirements : None
Parameters
sourceContainersourcecontainer
targetObjTagtargetobjtag
bool NXOpen::Features::PaintParametersBuilder::IsSourcePaintableObjectContainer ( NXOpen::NXObject containerObj)

Check if this object contains paintable object.

Returns

Created in NX10.0.0.

License requirements : None
Parameters
containerObjcontainerobj
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")

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


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