NXOpen .NET Reference Guide
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | List of all members
NXOpen.Facet.PaintBrushBuilder Class Reference

This class manages the paint brush utility for a facet body. More...

Inheritance diagram for NXOpen.Facet.PaintBrushBuilder:
NXOpen.Builder NXOpen.TaggedObject NXOpen.GeometricUtilities.IComponentBuilder NXOpen.Utilities.NXRemotableObject IMessageSink

Public Member Functions

unsafe void ClearThePaintPath ()
 Clears the paint path More...
 
unsafe double[] GetPaintBrushColor ()
 Returns the paint brush color More...
 
unsafe void PaintVertexColor (NXOpen.Point3d position)
 Paints facet body vertex color More...
 
unsafe void SetBodyBeingPainted (NXOpen.DisplayableObject body)
 Sets facet body being painted. More...
 
unsafe void SetFacetBeingPainted (NXOpen.Facet.FacetedBody facet)
 Sets facet body being painted. More...
 
unsafe void SetPaintBrushColor (double[] paintBrushColor)
 Sets the paint brush color More...
 
unsafe void SetTemporaryFacetDisplay (bool tempDisplay)
 Flag to use temporary facet display More...
 
unsafe void SetupPaintFacetBody ()
 Setup the paint facet body 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...
 
- Public Member Functions inherited from NXOpen.TaggedObject
void PrintTestData (String variableName)
 <exclude> More...
 
void PrintTestData (String variableName, int lineNumber)
 <exclude> More...
 
override string ToString ()
 Returns a String that represents the current Object. More...
 
- Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject
IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
 Asynchronously processes the given message. More...
 
IMessage SyncProcessMessage (IMessage msg)
 Synchronously processes the given message. More...
 

Additional Inherited Members

- Protected Member Functions inherited from NXOpen.TaggedObject
new void initialize ()
 <exclude> More...
 
- Properties inherited from NXOpen.TaggedObject
Tag Tag [get]
 Returns the tag of this object. More...
 

Detailed Description

This class manages the paint brush utility for a facet body.

To create a new instance of this class, use NXOpen.Facet.FacetModelingCollection.CreatePaintBrushBuilder

Created in NX10.0.0

Member Function Documentation

unsafe void NXOpen.Facet.PaintBrushBuilder.ClearThePaintPath ( )
inline

Clears the paint path

Created in NX10.0.0

License requirements: None.

unsafe double [] NXOpen.Facet.PaintBrushBuilder.GetPaintBrushColor ( )
inline

Returns the paint brush color

Created in NX10.0.0

License requirements: None.

Returns
Array of 3 RGB values, each between 0 and 1
unsafe void NXOpen.Facet.PaintBrushBuilder.PaintVertexColor ( NXOpen.Point3d  position)
inline

Paints facet body vertex color

Created in NX10.0.0

License requirements: None.

Parameters
positionVertex position
unsafe void NXOpen.Facet.PaintBrushBuilder.SetBodyBeingPainted ( NXOpen.DisplayableObject  body)
inline

Sets facet body being painted.

Inputs to this command can be convergent objects.

Created in NX11.0.0

License requirements: None.

Parameters
bodyBody being painted.
unsafe void NXOpen.Facet.PaintBrushBuilder.SetFacetBeingPainted ( NXOpen.Facet.FacetedBody  facet)
inline

Sets facet body being painted.

Created in NX10.0.0

Deprecated in NX11.0.0. Use NXOpen.Facet.PaintBrushBuilder.SetBodyBeingPainted instead.

License requirements: None.

Parameters
facetFacet body being painted.
unsafe void NXOpen.Facet.PaintBrushBuilder.SetPaintBrushColor ( double[]  paintBrushColor)
inline

Sets the paint brush color

Created in NX10.0.0

License requirements: None.

Parameters
paintBrushColorArray of 3 RGB values, each between 0 and 1
unsafe void NXOpen.Facet.PaintBrushBuilder.SetTemporaryFacetDisplay ( bool  tempDisplay)
inline

Flag to use temporary facet display

Created in NX10.0.0

License requirements: None.

Parameters
tempDisplayTemporary display flag
unsafe void NXOpen.Facet.PaintBrushBuilder.SetupPaintFacetBody ( )
inline

Setup the paint facet body

Created in NX10.0.0

License requirements: None.


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