Click or drag to resize
PlugInReadDocument Method
Called whenever a Rhino document is being loaded and plug-in user data was encountered written by a plug-in with this plug-in's GUID.

Namespace: Rhino.PlugIns
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
protected virtual void ReadDocument(
	RhinoDoc doc,
	BinaryArchiveReader archive,
	FileReadOptions options


Type: RhinoRhinoDoc
A Rhino document that is being loaded.
Type: Rhino.FileIOBinaryArchiveReader
OpenNURBS file archive object Rhino is using to read this file. Use BinaryArchiveReader.Read*() functions to read plug-in data. If any BinaryArchive.Read*() functions throws an exception then archive.ReadErrorOccurve will be true and you should immediately return.
Type: Rhino.FileIOFileReadOptions
Describes what is being written.
See Also