Click or drag to resize

File3dmPlugInDataTableTryRead Method

Attempts to read a Rhino plug-in's custom data from the File3dm file.

Namespace:  Rhino.FileIO
Assembly:  RhinoCommon (in RhinoCommon.dll)
public bool TryRead(
	File3dmPlugInData pluginData,
	Func<File3dm, BinaryArchiveReader, bool> dataReader


Type: Rhino.FileIOFile3dmPlugInData
The plug-in whose data you want to try to read.
Type: SystemFuncFile3dm, BinaryArchiveReader, Boolean
The function that will read the data. This function must be implemented identical to the the originating plug-in's ReadDocument(RhinoDoc, BinaryArchiveReader, FileReadOptions) method.

Return Value

Type: Boolean
The value returned by the data reading function if successful, false otherwise.
See Also