Click or drag to resize
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) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public static bool ReadRevisionHistory(
	string path,
	out string createdBy,
	out string lastEditedBy,
	out int revision,
	out DateTime createdOn,
	out DateTime lastEditedOn
)

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: Boolean
true on success
See Also