Click or drag to resize

SnapShotsClientIsCurrentModelStateInAnySnapshot Method (RhinoDoc, BinaryArchiveReader, SimpleArrayBinaryArchiveReader, TextLog)

Called before restoring a snapshot. Warns the user if the current model state is not already saved.

Namespace:  Rhino.DocObjects.SnapShots
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.0
public abstract bool IsCurrentModelStateInAnySnapshot(
	RhinoDoc doc,
	BinaryArchiveReader archive,
	SimpleArrayBinaryArchiveReader archive_array,
	TextLog text_log = null


Type: RhinoRhinoDoc
doc is the current document.
Type: Rhino.FileIOBinaryArchiveReader
archive is the current state of the model.
Type: Rhino.Runtime.InteropWrappersSimpleArrayBinaryArchiveReader
archive_array is a list of client data.
text_log (Optional)
Type: Rhino.FileIOTextLog
text_log is used to list the missing items that cannot be found in the current model.

Return Value

Type: Boolean
return true if successful, otherwise false.
See Also