IsRunningOnWindows

Verifies that this script is executing on a Windows platform.

Syntax

rhinoscriptsyntax.IsRunningOnWindows()

rhinoscript.application.IsRunningOnWindows()

Returns

Boolean

True if running on Windows, otherwise False.

Example

import rhinoscriptsyntax as rs

if rs.IsRunngingOnWindows():

    print "Running on Windows"

else:

    print "Running on Mac"