IsWallpaper

Verifies that the specified view contains a wallpaper bitmap.

Syntax

rhinoscriptsyntax.IsWallpaper (view)

rhinoscript.view.IsWallpaper (view)

Parameters

view

Required.  String or Guid.  The title or identifier of the view.

Returns

Boolean

True or False indicating success or failure.

Example

import rhinoscriptsyntax as rs

view = rs.CurrentView()

filename = rs.OpenFileName()

if filename and not rs.IsWallpaper(view):

    rs.Wallpaper(view, filename)

Also See

Wallpaper