The GradientView command toggles gradient view mode.
Displays a customizable color gradient as a viewport background.
Defaults to two colors top-to-bottom.
The command acts as a "toggle." Run it once to turn gradient background on, run it again to turn it off.
Note: This command only affects display modes where the Background is set to use Application Settings.
-GradientView (command-line version) options
View
Determines the state of all viewports. Choosing the Active option turns off gradient background in all of the views except the active viewport.
All
Applies the gradient settings to all of the views.
Active
Applies the gradient settings to the active view.
State
On
Turns gradient background on.
Off
Turns gradient background off.
Top
Sets the color for the top of the gradient.
Bottom
Sets the color for the bottom of the gradient.
Colors
Sets the color mode to 2 or 4. If the number of colors is set to 4, more color options appear: TopLeft, TopRight, BottomLeft, and BottomRight.
Examples
1. | Set two-color gradient that goes from red to blue (top-to-bottom). ! -GradientView _Colors=2 _Top=128,0,0 _Bottom=0,0,128 Enter |
2. | Set four-color gradient that goes from a blue-violet to a pink-salmon. ! -GradientView _Colors=4 _TopLeft=0,0,64 _TopRight=70,0,140 _BottomLeft=240,150,135 _BottomRight=240,130,164 Enter |
See also
Rhinoceros 5 © 2010-2015 Robert McNeel & Associates. 17-Sep-2015