RhinoCommon API
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 )
Public Function TryRead ( pluginData As File3dmPlugInData, dataReader As Func(Of File3dm, BinaryArchiveReader, Boolean) ) As Boolean
Parameters
- pluginData
- Type: Rhino.FileIOFile3dmPlugInData
The plug-in whose data you want to try to read. - dataReader
- 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: BooleanThe value returned by the data reading function if successful, false otherwise.
