M_Rhino_RhinoDoc_ReadFileVersion - mcneel/rhinocommon-api-docs GitHub Wiki

RhinoDoc.ReadFileVersion 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) Version: Rhino 6.0

Syntax

C#

public int ReadFileVersion()

VB

Public Function ReadFileVersion As Integer

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

Supported in: 5D58w

See Also

Reference

RhinoDoc Class
Rhino Namespace

⚠️ **GitHub.com Fallback** ⚠️