Verifies that this script is executing on a Windows platform.
rhinoscriptsyntax.IsRunningOnWindows()
rhinoscript.application.IsRunningOnWindows()
Boolean |
True if running on Windows, otherwise False. |
import rhinoscriptsyntax as rs
if rs.IsRunngingOnWindows():
print "Running on Windows"
else:
print "Running on Mac"