|
NX Open C++ Reference Guide
|
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...
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 | |
| int | DeEmphasisBlendPercentage () |
| Returns the percentage of the de-emphasis color that is blended with object colors to de-emphasize objects | |
| NXOpen::NXColor * | HandleActiveColor () |
| Returns the color of active handles. | |
| NXOpen::NXColor * | HandleColor () |
| Returns the color of handles. | |
| NXOpen::NXColor * | HandleOrientxpressColor () |
| Returns the color of the OrientXpress handle. | |
| NXOpen::NXColor * | HandlePreselectionColor () |
| Returns the preselection color of handles. | |
| NXOpen::NXColor * | HandleSelectionColor () |
| 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 | |
| void | SetDeEmphasisBlendPercentage (int blendPercentage) |
| Sets the percentage of the de-emphasis color that is blended with object colors to de-emphasize objects | |
| 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. | |
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.
| int NXOpen::Preferences::PartVisualizationColorSetting::AttentionColor | ( | ) |
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
| int NXOpen::Preferences::PartVisualizationColorSetting::DeEmphasisBlendColor | ( | ) |
Returns the de-emphasis color that is blended with object colors to de-emphasize objects
Use Preferences::PartVisualizationEmphasis::GetWireframeBlendOptions instead.
Created in NX6.0.0.
License requirements : None
| int NXOpen::Preferences::PartVisualizationColorSetting::DeEmphasisBlendPercentage | ( | ) |
Returns the percentage of the de-emphasis color that is blended with object colors to de-emphasize objects
Use Preferences::PartVisualizationEmphasis::GetWireframeBlendOptions instead.
Created in NX6.0.0.
License requirements : None
| NXOpen::NXColor* NXOpen::Preferences::PartVisualizationColorSetting::HandleActiveColor | ( | ) |
Returns the color of active handles.
Created in NX7.5.0.
License requirements : None
| NXOpen::NXColor* NXOpen::Preferences::PartVisualizationColorSetting::HandleColor | ( | ) |
Returns the color of handles.
Created in NX7.5.0.
License requirements : None
| NXOpen::NXColor* NXOpen::Preferences::PartVisualizationColorSetting::HandleOrientxpressColor | ( | ) |
Returns the color of the OrientXpress handle.
Created in NX7.5.0.
License requirements : None
| NXOpen::NXColor* NXOpen::Preferences::PartVisualizationColorSetting::HandlePreselectionColor | ( | ) |
Returns the preselection color of handles.
Created in NX7.5.0.
License requirements : None
| NXOpen::NXColor* NXOpen::Preferences::PartVisualizationColorSetting::HandleSelectionColor | ( | ) |
Returns the selection color of handles.
Created in NX7.5.0.
License requirements : None
| int NXOpen::Preferences::PartVisualizationColorSetting::HiddenGeometryColor | ( | ) |
Returns the color of hidden geometry.
Created in NX3.0.0.
License requirements : None
| int NXOpen::Preferences::PartVisualizationColorSetting::MonochromeBackgroundColor | ( | ) |
Returns the monochrome background color
Created in NX3.0.0.
License requirements : None
| bool NXOpen::Preferences::PartVisualizationColorSetting::MonochromeDisplay | ( | ) |
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
| int NXOpen::Preferences::PartVisualizationColorSetting::MonochromeForegroundColor | ( | ) |
Returns the monochrome foreground color.
Monochrome color for all displayable objects, view borders, and view names.
Created in NX3.0.0.
License requirements : None
| int NXOpen::Preferences::PartVisualizationColorSetting::MonochromePreselectionColor | ( | ) |
Returns the monochrome color for preselected objects
Created in NX3.0.0.
License requirements : None
| int NXOpen::Preferences::PartVisualizationColorSetting::MonochromeSelectionColor | ( | ) |
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
| int NXOpen::Preferences::PartVisualizationColorSetting::PreselectionColor | ( | ) |
Returns the preselection color.
Represents color of selectable objects for the current operation.
Created in NX3.0.0.
License requirements : None
| NXOpen::Preferences::PartVisualizationColorSetting::RandomColorDisplayFor NXOpen::Preferences::PartVisualizationColorSetting::RandomColorDisplay | ( | ) |
Returns the random color display selection.
Created in NX3.0.0.
License requirements : None
| bool NXOpen::Preferences::PartVisualizationColorSetting::RandomColorDisplayOption | ( | ) |
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
| int NXOpen::Preferences::PartVisualizationColorSetting::SelectionColor | ( | ) |
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
| void NXOpen::Preferences::PartVisualizationColorSetting::SetAttentionColor | ( | int | attentionColor | ) |
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
| attentionColor | attention color |
| void NXOpen::Preferences::PartVisualizationColorSetting::SetDeEmphasisBlendColor | ( | int | blendColor | ) |
Sets the de-emphasis color that is blended with object colors to de-emphasize objects
Use Preferences::PartVisualizationEmphasis::SetWireframeBlendOptions instead.
Created in NX6.0.0.
License requirements : None
| blendColor | blend color |
| void NXOpen::Preferences::PartVisualizationColorSetting::SetDeEmphasisBlendPercentage | ( | int | blendPercentage | ) |
Sets the percentage of the de-emphasis color that is blended with object colors to de-emphasize objects
Use Preferences::PartVisualizationEmphasis::SetWireframeBlendOptions instead.
Created in NX6.0.0.
License requirements : None
| blendPercentage | blend percentage |
| void NXOpen::Preferences::PartVisualizationColorSetting::SetHandleActiveColor | ( | NXOpen::NXColor * | handleActiveColor | ) |
Sets the color of active handles.
Created in NX7.5.0.
License requirements : None
| handleActiveColor | handle active color |
| void NXOpen::Preferences::PartVisualizationColorSetting::SetHandleColor | ( | NXOpen::NXColor * | handleColor | ) |
Sets the color of handles.
Created in NX7.5.0.
License requirements : None
| handleColor | handle color |
| void NXOpen::Preferences::PartVisualizationColorSetting::SetHandleOrientxpressColor | ( | NXOpen::NXColor * | handleOrientxpressColor | ) |
Sets the color of the OrientXpress handle.
Created in NX7.5.0.
License requirements : None
| handleOrientxpressColor | handle orientxpress color |
| void NXOpen::Preferences::PartVisualizationColorSetting::SetHandlePreselectionColor | ( | NXOpen::NXColor * | handlePreselectionColor | ) |
Sets the preselection color of handles.
Created in NX7.5.0.
License requirements : None
| handlePreselectionColor | handle preselection color |
| void NXOpen::Preferences::PartVisualizationColorSetting::SetHandleSelectionColor | ( | NXOpen::NXColor * | handleSelectionColor | ) |
Sets the selection color of handles.
Created in NX7.5.0.
License requirements : None
| handleSelectionColor | handle selection color |
| void NXOpen::Preferences::PartVisualizationColorSetting::SetHiddenGeometryColor | ( | int | hiddenGeometryColor | ) |
Sets the color of hidden geometry.
Created in NX3.0.0.
License requirements : None
| hiddenGeometryColor | hidden geometry color |
| void NXOpen::Preferences::PartVisualizationColorSetting::SetMonochromeBackgroundColor | ( | int | monochromeBackgroundColor | ) |
Sets the monochrome background color
Created in NX3.0.0.
License requirements : None
| monochromeBackgroundColor | monochrome background color |
| void NXOpen::Preferences::PartVisualizationColorSetting::SetMonochromeDisplay | ( | bool | monochromeDisplay | ) |
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
| monochromeDisplay | monochrome display |
| void NXOpen::Preferences::PartVisualizationColorSetting::SetMonochromeForegroundColor | ( | int | monochromeForegroundColor | ) |
Sets the monochrome foreground color.
Monochrome color for all displayable objects, view borders, and view names.
Created in NX3.0.0.
License requirements : None
| monochromeForegroundColor | monochrome foreground color |
| void NXOpen::Preferences::PartVisualizationColorSetting::SetMonochromePreselectionColor | ( | int | monochromePreselectionColor | ) |
Sets the monochrome color for preselected objects
Created in NX3.0.0.
License requirements : None
| monochromePreselectionColor | monochrome preselection color |
| void NXOpen::Preferences::PartVisualizationColorSetting::SetMonochromeSelectionColor | ( | int | monochromeSelectionColor | ) |
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
| monochromeSelectionColor | monochrome selection color |
| void NXOpen::Preferences::PartVisualizationColorSetting::SetPreselectionColor | ( | int | preselectionColor | ) |
Sets the preselection color.
Represents color of selectable objects for the current operation.
Created in NX3.0.0.
License requirements : None
| preselectionColor | preselection color |
| void NXOpen::Preferences::PartVisualizationColorSetting::SetRandomColorDisplay | ( | NXOpen::Preferences::PartVisualizationColorSetting::RandomColorDisplayFor | randomColorDisplay | ) |
Sets the random color display selection.
Created in NX3.0.0.
License requirements : None
| randomColorDisplay | random color display |
| void NXOpen::Preferences::PartVisualizationColorSetting::SetRandomColorDisplayOption | ( | bool | randomColorDisplayOption | ) |
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
| randomColorDisplayOption | random color display option |
| void NXOpen::Preferences::PartVisualizationColorSetting::SetSelectionColor | ( | int | selectionColor | ) |
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
| selectionColor | selection color |
| void NXOpen::Preferences::PartVisualizationColorSetting::SetShowWidths | ( | bool | showWidths | ) |
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
| showWidths | show widths |
| bool NXOpen::Preferences::PartVisualizationColorSetting::ShowWidths | ( | ) |
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
| void NXOpen::Preferences::PartVisualizationColorSetting::ShuffleRandomColor | ( | ) |
Allows user to shuffle the Random color
Created in NX3.0.0.
License requirements : None
| tag_t NXOpen::Preferences::PartVisualizationColorSetting::Tag | ( | ) | const |
Returns the tag of this object.