RhinoCommon API
File3dmReadRevisionHistory Method |
Quickly check a file for it's revision information. This function does
not read the entire file, just what it needs to get revision information out
Namespace: Rhino.FileIO
Assembly: RhinoCommon (in RhinoCommon.dll)

public static bool ReadRevisionHistory( string path, out string createdBy, out string lastEditedBy, out int revision, out DateTime createdOn, out DateTime lastEditedOn )
Public Shared Function ReadRevisionHistory ( path As String, <OutAttribute> ByRef createdBy As String, <OutAttribute> ByRef lastEditedBy As String, <OutAttribute> ByRef revision As Integer, <OutAttribute> ByRef createdOn As DateTime, <OutAttribute> ByRef lastEditedOn As DateTime ) As Boolean
Parameters
- path
- Type: SystemString
path to the 3dm file - createdBy
- Type: SystemString
original author of the file - lastEditedBy
- Type: SystemString
last person to edit the file - revision
- Type: SystemInt32
which revision this file is at - createdOn
- Type: SystemDateTime
date file was created (DateTime.MinValue if not set in file) - lastEditedOn
- Type: SystemDateTime
date file was last edited (DateTime.MinValue if not set in file)
Return Value
Type: Booleantrue on success

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14