ReadFileVersion

Returns the file version of the current document.  Use this function to determine which version of Rhino last saved the document. Note, this function will not return values from referenced or merged files.

Syntax

Rhino.ReadFileVersion ()

Parameters

None.

Returns

Number

The file version of the document if successful.  Note, values less than zero indicate that the current document has not been read (from disk).

Null

If not successful, or on error.

Example

MsgBox CInt(Rhino.ReadFileVersion)

Also See

DocumentName

DocumentPath