WallpaperHidden

Returns or sets the visibility of the wallpaper bitmap of the specified view.

Syntax

rhinoscriptsyntaxs.WallpaperHidden (view=None, hidden=None)

Parameters

view

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

hidden

Optional.  Boolean.  Hide the wallpaper bitmap (True) or show the wallpaper bitmap (False).

Returns

Boolean

If hidden is not specified,  then the current wallpaper visibility if successful.

Boolean

If hidden is specified,  then the previous wallpaper visibility if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

view = rs.CurrentView()

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

Also See

Wallpaper

WallpaperGrayScale