ExePlatform

Returns the platform of the Rhino executable.

Syntax

rhinoscriptsyntax.ExePlatform ()

rhinoscript.application.ExePlatform ()

Parameters

None.

Returns

Number

The Rhino platform if successful. Possible values are as follows:

Value

Description

0

32-Bit Rhino (x86)

1

64-bit Rhino (x64)

Example

import rhinoscriptsyntax as rs

if rs.ExePlatform() == 1:

    print "You are using a 64-bit version of Rhino."

else:

    print "You are using a 32-bit version of Rhino."

Also See

BuildDate

ExeVersion

InstallType

NodeType

SdkServiceRelease

SdkVersion

SerialNumber