Click or drag to resize

RhinoDocReadFileVersion Method

Returns the file version of the current document. Use this function to determine which version of Rhino last saved the document.

Namespace:  Rhino
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public int ReadFileVersion()

Return Value

Type: Int32
The file version (e.g. 1, 2, 3, 4, etc.) or -1 if the document has not been read from disk.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.2
See Also