NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::Preferences::PartVisualizationColorSetting Class Reference

Represents the set of visualization preferences under color setting tab applicable to part
To obtain an instance of this class, refer to Preferences::PartPreferences

Created in NX3.0.0. More...

List of all members.

Public Types

enum  RandomColorDisplayFor { RandomColorDisplayForFaces, RandomColorDisplayForBodies }
 Describes whether the random color display is applicable for faces or bodies. More...

Public Member Functions

int AttentionColor ()
 Returns the color that an HD3D objects associated objects are highlighted with when the HD3D object is selected.
int DeEmphasisBlendColor ()
 Returns the de-emphasis color that is blended with object colors to de-emphasize objects
Created in NX6.0.0.
int DeEmphasisBlendPercentage ()
 Returns the percentage of the de-emphasis color that is blended with object colors to de-emphasize objects
Created in NX6.0.0.
NXOpen::NXColorHandleActiveColor ()
 Returns the color of active handles.
NXOpen::NXColorHandleColor ()
 Returns the color of handles.
NXOpen::NXColorHandleOrientxpressColor ()
 Returns the color of the OrientXpress handle.
NXOpen::NXColorHandlePreselectionColor ()
 Returns the preselection color of handles.
NXOpen::NXColorHandleSelectionColor ()
 Returns the selection color of handles.
int HiddenGeometryColor ()
 Returns the color of hidden geometry.
int MonochromeBackgroundColor ()
 Returns the monochrome background color
Created in NX3.0.0.
bool MonochromeDisplay ()
 Returns the monochrome display flag.
int MonochromeForegroundColor ()
 Returns the monochrome foreground color.
int MonochromePreselectionColor ()
 Returns the monochrome color for preselected objects
Created in NX3.0.0.
int MonochromeSelectionColor ()
 Returns the monochrome selection_color.
int PreselectionColor ()
 Returns the preselection color.
NXOpen::Preferences::PartVisualizationColorSetting::RandomColorDisplayFor RandomColorDisplay ()
 Returns the random color display selection.
bool RandomColorDisplayOption ()
 Returns the random color display flag.
int SelectionColor ()
 Returns the selection color.
void SetAttentionColor (int attentionColor)
 Sets the color that an HD3D objects associated objects are highlighted with when the HD3D object is selected.
void SetDeEmphasisBlendColor (int blendColor)
 Sets the de-emphasis color that is blended with object colors to de-emphasize objects
Created in NX6.0.0.
void SetDeEmphasisBlendPercentage (int blendPercentage)
 Sets the percentage of the de-emphasis color that is blended with object colors to de-emphasize objects
Created in NX6.0.0.
void SetHandleActiveColor (NXOpen::NXColor *handleActiveColor)
 Sets the color of active handles.
void SetHandleColor (NXOpen::NXColor *handleColor)
 Sets the color of handles.
void SetHandleOrientxpressColor (NXOpen::NXColor *handleOrientxpressColor)
 Sets the color of the OrientXpress handle.
void SetHandlePreselectionColor (NXOpen::NXColor *handlePreselectionColor)
 Sets the preselection color of handles.
void SetHandleSelectionColor (NXOpen::NXColor *handleSelectionColor)
 Sets the selection color of handles.
void SetHiddenGeometryColor (int hiddenGeometryColor)
 Sets the color of hidden geometry.
void SetMonochromeBackgroundColor (int monochromeBackgroundColor)
 Sets the monochrome background color
Created in NX3.0.0.
void SetMonochromeDisplay (bool monochromeDisplay)
 Sets the monochrome display flag.
void SetMonochromeForegroundColor (int monochromeForegroundColor)
 Sets the monochrome foreground color.
void SetMonochromePreselectionColor (int monochromePreselectionColor)
 Sets the monochrome color for preselected objects
Created in NX3.0.0.
void SetMonochromeSelectionColor (int monochromeSelectionColor)
 Sets the monochrome selection_color.
void SetPreselectionColor (int preselectionColor)
 Sets the preselection color.
void SetRandomColorDisplay (NXOpen::Preferences::PartVisualizationColorSetting::RandomColorDisplayFor randomColorDisplay)
 Sets the random color display selection.
void SetRandomColorDisplayOption (bool randomColorDisplayOption)
 Sets the random color display flag.
void SetSelectionColor (int selectionColor)
 Sets the selection color.
void SetShowWidths (bool showWidths)
 Sets the show widths flag.
bool ShowWidths ()
 Returns the show widths flag.
void ShuffleRandomColor ()
 Allows user to shuffle the Random color
Created in NX3.0.0.
tag_t Tag () const
 Returns the tag of this object.

Detailed Description

Represents the set of visualization preferences under color setting tab applicable to part
To obtain an instance of this class, refer to Preferences::PartPreferences

Created in NX3.0.0.



Member Enumeration Documentation

Describes whether the random color display is applicable for faces or bodies.

Enumerator:
RandomColorDisplayForFaces 

For Faces.

RandomColorDisplayForBodies 

For Bodies.


Member Function Documentation

Returns the color that an HD3D objects associated objects are highlighted with when the HD3D object is selected.

The color must be in the range of 1 to 216 inclusive.
Created in NX7.0.0.

License requirements : None

Returns the de-emphasis color that is blended with object colors to de-emphasize objects
Created in NX6.0.0.



License requirements : None

Returns the percentage of the de-emphasis color that is blended with object colors to de-emphasize objects
Created in NX6.0.0.



License requirements : None

Returns the color of active handles.


Created in NX7.5.0.

License requirements : None

Returns the color of handles.


Created in NX7.5.0.

License requirements : None

Returns the color of the OrientXpress handle.


Created in NX7.5.0.

License requirements : None

Returns the preselection color of handles.


Created in NX7.5.0.

License requirements : None

Returns the selection color of handles.


Created in NX7.5.0.

License requirements : None

Returns the color of hidden geometry.


Created in NX3.0.0.

License requirements : None

Returns the monochrome background color
Created in NX3.0.0.



License requirements : None

Returns the monochrome display flag.

If true it turns on the monochrome display options. Monochrome display also applies to Expanded drawing views.
Created in NX3.0.0.

License requirements : None

Returns the monochrome foreground color.

Monochrome color for all displayable objects, view borders, and view names.
Created in NX3.0.0.

License requirements : None

Returns the monochrome color for preselected objects
Created in NX3.0.0.



License requirements : None

Returns the monochrome selection_color.

Displays all selected/highlighted objects, temporary display objects (such as coneheads, temporary text), and drawing borders in this color.
Created in NX3.0.0.

License requirements : None

Returns the preselection color.

Represents color of selectable objects for the current operation.
Created in NX3.0.0.

License requirements : None

Returns the random color display selection.


Created in NX3.0.0.

License requirements : None

Returns the random color display flag.

If true it provides a temporary display of unique colors per solid object.
Created in NX3.0.0.

License requirements : None

Returns the selection color.

Represents color of selected objects, the grid, view names and borders, and temporary points and conehead vectors.
Created in NX3.0.0.

License requirements : None

Sets the color that an HD3D objects associated objects are highlighted with when the HD3D object is selected.

The color must be in the range of 1 to 216 inclusive.
Created in NX7.0.0.

License requirements : None

Parameters:
attentionColorattention color

Sets the de-emphasis color that is blended with object colors to de-emphasize objects
Created in NX6.0.0.



License requirements : None

Parameters:
blendColorblend color

Sets the percentage of the de-emphasis color that is blended with object colors to de-emphasize objects
Created in NX6.0.0.



License requirements : None

Parameters:
blendPercentageblend percentage

Sets the color of active handles.


Created in NX7.5.0.

License requirements : None

Parameters:
handleActiveColorhandle active color

Sets the color of handles.


Created in NX7.5.0.

License requirements : None

Parameters:
handleColorhandle color

Sets the color of the OrientXpress handle.


Created in NX7.5.0.

License requirements : None

Parameters:
handleOrientxpressColorhandle orientxpress color

Sets the preselection color of handles.


Created in NX7.5.0.

License requirements : None

Parameters:
handlePreselectionColorhandle preselection color

Sets the selection color of handles.


Created in NX7.5.0.

License requirements : None

Parameters:
handleSelectionColorhandle selection color

Sets the color of hidden geometry.


Created in NX3.0.0.

License requirements : None

Parameters:
hiddenGeometryColorhidden geometry color

Sets the monochrome background color
Created in NX3.0.0.



License requirements : None

Parameters:
monochromeBackgroundColormonochrome background color

Sets the monochrome display flag.

If true it turns on the monochrome display options. Monochrome display also applies to Expanded drawing views.
Created in NX3.0.0.

License requirements : None

Parameters:
monochromeDisplaymonochrome display

Sets the monochrome foreground color.

Monochrome color for all displayable objects, view borders, and view names.
Created in NX3.0.0.

License requirements : None

Parameters:
monochromeForegroundColormonochrome foreground color

Sets the monochrome color for preselected objects
Created in NX3.0.0.



License requirements : None

Parameters:
monochromePreselectionColormonochrome preselection color

Sets the monochrome selection_color.

Displays all selected/highlighted objects, temporary display objects (such as coneheads, temporary text), and drawing borders in this color.
Created in NX3.0.0.

License requirements : None

Parameters:
monochromeSelectionColormonochrome selection color

Sets the preselection color.

Represents color of selectable objects for the current operation.
Created in NX3.0.0.

License requirements : None

Parameters:
preselectionColorpreselection color

Sets the random color display selection.


Created in NX3.0.0.

License requirements : None

Parameters:
randomColorDisplayrandom color display

Sets the random color display flag.

If true it provides a temporary display of unique colors per solid object.
Created in NX3.0.0.

License requirements : None

Parameters:
randomColorDisplayOptionrandom color display option

Sets the selection color.

Represents color of selected objects, the grid, view names and borders, and temporary points and conehead vectors.
Created in NX3.0.0.

License requirements : None

Parameters:
selectionColorselection color

Sets the show widths flag.

If true, the object width attribute determines the displayed width of lines or curves used to represent an object.
Created in NX3.0.0.

License requirements : None

Parameters:
showWidthsshow widths

Returns the show widths flag.

If true, the object width attribute determines the displayed width of lines or curves used to represent an object.
Created in NX3.0.0.

License requirements : None

Allows user to shuffle the Random color
Created in NX3.0.0.



License requirements : None

Returns the tag of this object.


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