PartVisualizationColorSetting Class

class NXOpen.Preferences.PartVisualizationColorSetting

Bases: object

Represents the set of visualization preferences under color setting tab applicable to part

To obtain an instance of this class, refer to NXOpen.Preferences.PartPreferences

New in version NX3.0.0.

Properties

Property Description
AttentionColor Returns or sets the color that an HD3D objects associated objects are highlighted with when the HD3D object is selected.
HandleActiveColor Returns or sets the color of active handles.
HandleColor Returns or sets the color of handles.
HandleOrientxpressColor Returns or sets the color of the OrientXpress handle.
HandlePreselectionColor Returns or sets the preselection color of handles.
HandleSelectionColor Returns or sets the selection color of handles.
HiddenGeometryColor Returns or sets the color of hidden geometry.
MonochromeBackgroundColor Returns or sets the monochrome background color
MonochromeDisplay Returns or sets the monochrome display flag.
MonochromeForegroundColor Returns or sets the monochrome foreground color.
MonochromePreselectionColor Returns or sets the monochrome color for preselected objects
MonochromeSelectionColor Returns or sets the monochrome selection_color.
PreselectionColor Returns or sets the preselection color.
RandomColorDisplay Returns or sets the random color display selection.
RandomColorDisplayOption Returns or sets the random color display flag.
SelectionColor Returns or sets the selection color.
ShowWidths Returns or sets the show widths flag.

Methods

Method Description
ShuffleRandomColor Allows user to shuffle the Random color

Enumerations

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

Property Detail

AttentionColor

PartVisualizationColorSetting.AttentionColor

Returns or 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.

-------------------------------------

Getter Method

Signature AttentionColor

Returns:
Return type:int

New in version NX7.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature AttentionColor

Parameters:attentionColor (int) –

New in version NX7.0.0.

License requirements: None.

HandleActiveColor

PartVisualizationColorSetting.HandleActiveColor

Returns or sets the color of active handles.

-------------------------------------

Getter Method

Signature HandleActiveColor

Returns:
Return type:Id

New in version NX7.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature HandleActiveColor

Parameters:handleActiveColor (Id) –

New in version NX7.5.0.

License requirements: None.

HandleColor

PartVisualizationColorSetting.HandleColor

Returns or sets the color of handles.

-------------------------------------

Getter Method

Signature HandleColor

Returns:
Return type:Id

New in version NX7.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature HandleColor

Parameters:handleColor (Id) –

New in version NX7.5.0.

License requirements: None.

HandleOrientxpressColor

PartVisualizationColorSetting.HandleOrientxpressColor

Returns or sets the color of the OrientXpress handle.

-------------------------------------

Getter Method

Signature HandleOrientxpressColor

Returns:
Return type:Id

New in version NX7.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature HandleOrientxpressColor

Parameters:handleOrientxpressColor (Id) –

New in version NX7.5.0.

License requirements: None.

HandlePreselectionColor

PartVisualizationColorSetting.HandlePreselectionColor

Returns or sets the preselection color of handles.

-------------------------------------

Getter Method

Signature HandlePreselectionColor

Returns:
Return type:Id

New in version NX7.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature HandlePreselectionColor

Parameters:handlePreselectionColor (Id) –

New in version NX7.5.0.

License requirements: None.

HandleSelectionColor

PartVisualizationColorSetting.HandleSelectionColor

Returns or sets the selection color of handles.

-------------------------------------

Getter Method

Signature HandleSelectionColor

Returns:
Return type:Id

New in version NX7.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature HandleSelectionColor

Parameters:handleSelectionColor (Id) –

New in version NX7.5.0.

License requirements: None.

HiddenGeometryColor

PartVisualizationColorSetting.HiddenGeometryColor

Returns or sets the color of hidden geometry.

-------------------------------------

Getter Method

Signature HiddenGeometryColor

Returns:
Return type:int

New in version NX3.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature HiddenGeometryColor

Parameters:hiddenGeometryColor (int) –

New in version NX3.0.0.

License requirements: None.

MonochromeBackgroundColor

PartVisualizationColorSetting.MonochromeBackgroundColor

Returns or sets the monochrome background color

-------------------------------------

Getter Method

Signature MonochromeBackgroundColor

Returns:
Return type:int

New in version NX3.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature MonochromeBackgroundColor

Parameters:monochromeBackgroundColor (int) –

New in version NX3.0.0.

License requirements: None.

MonochromeDisplay

PartVisualizationColorSetting.MonochromeDisplay

Returns or sets the monochrome display flag.

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

-------------------------------------

Getter Method

Signature MonochromeDisplay

Returns:
Return type:bool

New in version NX3.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature MonochromeDisplay

Parameters:monochromeDisplay (bool) –

New in version NX3.0.0.

License requirements: None.

MonochromeForegroundColor

PartVisualizationColorSetting.MonochromeForegroundColor

Returns or sets the monochrome foreground color.

Monochrome color for all displayable objects, view borders, and view names.

-------------------------------------

Getter Method

Signature MonochromeForegroundColor

Returns:
Return type:int

New in version NX3.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature MonochromeForegroundColor

Parameters:monochromeForegroundColor (int) –

New in version NX3.0.0.

License requirements: None.

MonochromePreselectionColor

PartVisualizationColorSetting.MonochromePreselectionColor

Returns or sets the monochrome color for preselected objects

-------------------------------------

Getter Method

Signature MonochromePreselectionColor

Returns:
Return type:int

New in version NX3.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature MonochromePreselectionColor

Parameters:monochromePreselectionColor (int) –

New in version NX3.0.0.

License requirements: None.

MonochromeSelectionColor

PartVisualizationColorSetting.MonochromeSelectionColor

Returns or sets the monochrome selection_color.

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

-------------------------------------

Getter Method

Signature MonochromeSelectionColor

Returns:
Return type:int

New in version NX3.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature MonochromeSelectionColor

Parameters:monochromeSelectionColor (int) –

New in version NX3.0.0.

License requirements: None.

PreselectionColor

PartVisualizationColorSetting.PreselectionColor

Returns or sets the preselection color.

Represents color of selectable objects for the current operation.

-------------------------------------

Getter Method

Signature PreselectionColor

Returns:
Return type:int

New in version NX3.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature PreselectionColor

Parameters:preselectionColor (int) –

New in version NX3.0.0.

License requirements: None.

RandomColorDisplay

PartVisualizationColorSetting.RandomColorDisplay

Returns or sets the random color display selection.

-------------------------------------

Getter Method

Signature RandomColorDisplay

Returns:
Return type:NXOpen.Preferences.PartVisualizationColorSettingRandomColorDisplayFor

New in version NX3.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature RandomColorDisplay

Parameters:randomColorDisplay (NXOpen.Preferences.PartVisualizationColorSettingRandomColorDisplayFor) –

New in version NX3.0.0.

License requirements: None.

RandomColorDisplayOption

PartVisualizationColorSetting.RandomColorDisplayOption

Returns or sets the random color display flag.

If true it provides a temporary display of unique colors per solid object.

-------------------------------------

Getter Method

Signature RandomColorDisplayOption

Returns:
Return type:bool

New in version NX3.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature RandomColorDisplayOption

Parameters:randomColorDisplayOption (bool) –

New in version NX3.0.0.

License requirements: None.

SelectionColor

PartVisualizationColorSetting.SelectionColor

Returns or sets the selection color.

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

-------------------------------------

Getter Method

Signature SelectionColor

Returns:
Return type:int

New in version NX3.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature SelectionColor

Parameters:selectionColor (int) –

New in version NX3.0.0.

License requirements: None.

ShowWidths

PartVisualizationColorSetting.ShowWidths

Returns or sets the show widths flag.

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

-------------------------------------

Getter Method

Signature ShowWidths

Returns:
Return type:bool

New in version NX3.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature ShowWidths

Parameters:showWidths (bool) –

New in version NX3.0.0.

License requirements: None.

Method Detail

ShuffleRandomColor

PartVisualizationColorSetting.ShuffleRandomColor

Allows user to shuffle the Random color

Signature ShuffleRandomColor()

New in version NX3.0.0.

License requirements: None.