ScreenSize

Returns the current width and height, in pixels, of the screen of the primary display monitor.

Syntax

rhinoscriptsyntax.ScreenSize()

rhinoscript.application.ScreenSize()

Parameters

None.

Returns

list

two numbers identifying the width and height

Example

import rhinoscriptsyntax as rs

size = rs.ScreenSize()

print "Screen Width:", size[0], "pixels"

print "Screen Height:", size[1], "pixels"