NXOpen .NET Reference
12.0.0
|
This class manages the color painting on a facet body. More...
Public Member Functions | |
unsafe double[] | GetPaintBrushColor () |
Returns the paint brush color More... | |
unsafe void | SetPaintBrushColor (double[] paintBrushColor) |
Sets the paint brush color More... | |
unsafe void | SetupBodyColorData (NXOpen.DisplayableObject[] bodies) |
Setup color data. More... | |
unsafe void | SetupColorData (NXOpen.Facet.FacetedBody[] facets) |
Setup color data More... | |
unsafe void | PaintBodiesBackgroundColor (NXOpen.DisplayableObject[] bodies) |
Paints facets background color. More... | |
unsafe void | PaintFacetsBackGroundColor (NXOpen.Facet.FacetedBody[] facets) |
Paints facets background color More... | |
unsafe void | PaintSelectedFacets () |
Paints selected facets. 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.FacetCollector | FacetCollector [get] |
Returns a collector of facets on the facet bodies to be to be tested. More... | |
unsafe NXOpen.SelectDisplayableObject | InheritBodyColorPick [get] |
Returns the inherit color pick. More... | |
unsafe NXOpen.Facet.SelectFacetedBody | InheritColorPick [get] |
Returns the inherit color pick More... | |
unsafe NXOpen.Facet.PaintBrushBuilder | PaintBrush [get] |
Returns the paint brush More... | |
unsafe NXOpen.Expression | PaintBrushSize [get] |
Returns the paint brush size More... | |
This class manages the color painting on a facet body.
To create a new instance of this class, use NXOpen.Facet.FacetModelingCollection.CreatePaintFacetBodyBuilder
Default values.
Property | Value |
---|---|
PaintBrushSize.Value (deprecated) |
20.0 (millimeters part), 1.0 (inches part) |
Created in NX10.0.0
unsafe double [] NXOpen.Facet.PaintFacetBodyBuilder.GetPaintBrushColor | ( | ) |
Returns the paint brush color
Created in NX10.0.0
License requirements: None.
unsafe void NXOpen.Facet.PaintFacetBodyBuilder.PaintBodiesBackgroundColor | ( | NXOpen.DisplayableObject[] | bodies | ) |
Paints facets background color.
Inputs to this command can be convergent objects.
Created in NX11.0.0
License requirements: None.
bodies | Bodies to be painted with background color |
unsafe void NXOpen.Facet.PaintFacetBodyBuilder.PaintFacetsBackGroundColor | ( | NXOpen.Facet.FacetedBody[] | facets | ) |
Paints facets background color
Created in NX10.0.0
Deprecated in NX11.0.0. Use NXOpen.Facet.PaintFacetBodyBuilder.PaintBodiesBackgroundColor instead.
License requirements: None.
facets | Facets to be painted with background color |
unsafe void NXOpen.Facet.PaintFacetBodyBuilder.PaintSelectedFacets | ( | ) |
Paints selected facets.
Created in NX12.0.0
License requirements: None.
unsafe void NXOpen.Facet.PaintFacetBodyBuilder.SetPaintBrushColor | ( | double[] | paintBrushColor | ) |
Sets the paint brush color
Created in NX10.0.0
License requirements: None.
paintBrushColor | Array of 3 RGB values, each between 0 and 1 |
unsafe void NXOpen.Facet.PaintFacetBodyBuilder.SetupBodyColorData | ( | NXOpen.DisplayableObject[] | bodies | ) |
Setup color data.
Inputs to this command can be convergent objects.
Created in NX11.0.0
License requirements: None.
bodies | Bodies that need color data for edit |
unsafe void NXOpen.Facet.PaintFacetBodyBuilder.SetupColorData | ( | NXOpen.Facet.FacetedBody[] | facets | ) |
Setup color data
Created in NX10.0.0
Deprecated in NX11.0.0. Use NXOpen.Facet.PaintFacetBodyBuilder.SetupBodyColorData instead.
License requirements: None.
facets | Facets that need color data for edit |
|
get |
Returns a collector of facets on the facet bodies to be to be tested.
Created in NX12.0.0
License requirements: None.
|
get |
Returns the inherit color pick.
Inputs to this command can be convergent objects.
Created in NX11.0.0
License requirements: None.
|
get |
Returns the inherit color pick
Created in NX10.0.0
Deprecated in NX11.0.0. Use NXOpen.Facet.PaintFacetBodyBuilder.InheritBodyColorPick instead.
License requirements: None.
|
get |
Returns the paint brush
Created in NX10.0.0
Deprecated in NX12.0.0. Use NXOpen.Facet.PaintFacetBodyBuilder.FacetCollector instead.
License requirements: None.
|
get |
Returns the paint brush size
Created in NX10.0.0
Deprecated in NX12.0.0. Use NXOpen.Facet.PaintFacetBodyBuilder.FacetCollector instead.
License requirements: None.