NXOpen .NET Reference
12.0.0
|
Represents a paint feature parameters builder. More...
Public Member Functions | |
unsafe bool | IsSourcePaintableObjectContainer (NXOpen.NXObject containerObj) |
Check if this object contains paintable object. More... | |
unsafe NXOpen.NXObject[] | GetCompatibleTargetObjectContainers (NXOpen.NXObject sourceContainer, NXOpen.NXObject targetObjTag) |
Find paintable object containers from targetObjTag. More... | |
Public Member Functions inherited from NXOpen.Builder | |
unsafe NXOpen.NXObject | Commit () |
Commits any edits that have been applied to the builder. More... | |
unsafe void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. More... | |
unsafe NXOpen.NXObject[] | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. More... | |
unsafe NXOpen.NXObject | GetObject () |
Returns the object currently being edited by this builder. More... | |
unsafe void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. More... | |
unsafe bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. More... | |
Properties | |
unsafe NXOpen.Features.SelectFeature | SourceFeature [get] |
Returns the source feature More... | |
unsafe NXOpen.SelectTaggedObject | SourceObject [get] |
Returns the source paintable object More... | |
unsafe bool | TargetComponentSelection [get, set] |
Returns or sets the target component selection. More... | |
unsafe NXOpen.Assemblies.SelectComponentList | TargetComponents [get] |
Returns the target components that contain the target features. More... | |
unsafe NXOpen.Features.SelectFeatureList | TargetFeatures [get] |
Returns the target features More... | |
unsafe NXOpen.SelectTaggedObjectList | TargetObjects [get] |
Returns the target paintable objects 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 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
unsafe NXOpen.NXObject [] NXOpen.Features.PaintParametersBuilder.GetCompatibleTargetObjectContainers | ( | NXOpen.NXObject | sourceContainer, |
NXOpen.NXObject | targetObjTag | ||
) |
Find paintable object containers from targetObjTag.
Created in NX10.0.0
License requirements: None.
sourceContainer | |
targetObjTag |
unsafe bool NXOpen.Features.PaintParametersBuilder.IsSourcePaintableObjectContainer | ( | NXOpen.NXObject | containerObj | ) |
Check if this object contains paintable object.
Created in NX10.0.0
License requirements: None.
containerObj |
|
get |
Returns the source feature
Created in NX9.0.0
License requirements: None.
|
get |
Returns the source paintable object
Created in NX10.0.0
License requirements: None.
|
get |
Returns the target components that contain the target features.
If NXOpen.Features.PaintParametersBuilder.TargetComponentSelection 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.
|
getset |
Returns or 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 to get this property: None.
License requirements to set this property: solid_modeling ("SOLIDS MODELING")
|
get |
Returns the target features
Created in NX9.0.0
License requirements: None.
|
get |
Returns the target paintable objects
Created in NX10.0.0
License requirements: None.