WallpaperGrayScale

Returns or sets the grayscale display option of the wallpaper bitmap of the specified view.

Syntax

rhinoscriptsyntax.WallpaperGrayScale (view=None, grayscale=None)

Parameters

view

Optional.  String or Guid.  The title or identifier of the view.  If omitted, the current active view is used.

grayscale

Optional.  Boolean.  Display the wallpaper bitmap in grayscale (True) or color (False).

Returns

Boolean

If grayscale is not specified,  then the current grayscale display option if successful.

Boolean

If grayscale is specified,  then the previous grayscale display option if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

view = rs.CurrentView()

if rs.WallpaperGrayScale(view)==False: rs.WallpaperGrayScale(view, True)

Also See

Wallpaper

WallpaperHidden