PartVisualizationColorSetting Class¶
-
class
NXOpen.Preferences.PartVisualizationColorSetting¶ Bases:
objectRepresents the set of visualization preferences under color setting tab applicable to part
To obtain an instance of this class, refer to
NXOpen.Preferences.PartPreferencesNew 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
AttentionColorReturns: Return type: int New in version NX7.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AttentionColorParameters: 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
HandleActiveColorReturns: Return type: Id New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
HandleActiveColorParameters: handleActiveColor (Id) – New in version NX7.5.0.
License requirements: None.
HandleColor¶
-
PartVisualizationColorSetting.HandleColor¶ Returns or sets the color of handles.
-------------------------------------Getter Method
Signature
HandleColorReturns: Return type: Id New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
HandleColorParameters: 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
HandleOrientxpressColorReturns: Return type: Id New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
HandleOrientxpressColorParameters: 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
HandlePreselectionColorReturns: Return type: Id New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
HandlePreselectionColorParameters: 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
HandleSelectionColorReturns: Return type: Id New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
HandleSelectionColorParameters: handleSelectionColor (Id) – New in version NX7.5.0.
License requirements: None.
MonochromeBackgroundColor¶
-
PartVisualizationColorSetting.MonochromeBackgroundColor¶ Returns or sets the monochrome background color
-------------------------------------Getter Method
Signature
MonochromeBackgroundColorReturns: Return type: int New in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MonochromeBackgroundColorParameters: 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
MonochromeDisplayReturns: Return type: bool New in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MonochromeDisplayParameters: 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
MonochromeForegroundColorReturns: Return type: int New in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MonochromeForegroundColorParameters: 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
MonochromePreselectionColorReturns: Return type: int New in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MonochromePreselectionColorParameters: 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
MonochromeSelectionColorReturns: Return type: int New in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MonochromeSelectionColorParameters: 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
PreselectionColorReturns: Return type: int New in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
PreselectionColorParameters: 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
RandomColorDisplayReturns: Return type: NXOpen.Preferences.PartVisualizationColorSettingRandomColorDisplayForNew in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
RandomColorDisplayParameters: 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
RandomColorDisplayOptionReturns: Return type: bool New in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
RandomColorDisplayOptionParameters: 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
SelectionColorReturns: Return type: int New in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SelectionColorParameters: 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
ShowWidthsReturns: Return type: bool New in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ShowWidthsParameters: showWidths (bool) – New in version NX3.0.0.
License requirements: None.