Returns or sets the visibility of the wallpaper bitmap of the specified view.
rhinoscriptsyntaxs.WallpaperHidden (view=None, hidden=None)
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). |
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. |
import rhinoscriptsyntax as rs
view = rs.CurrentView()
if rs.WallpaperHidden(view) == False: rs.WallpaperHidden(view, True)