File3dmPlugInDataTable
ReferencesTable of custom data provided by plug-ins
Properties
Gets the number of File3dmPlugInData objects in this table.
Indexers
this[]
#Gets the File3dmPlugInData object at the given index.
Parameters:
| index (int) | Index of File3dmPlugInData to access. |
Returns: The File3dmPlugInData at [index].
Exceptions:
| IndexOutOfRangeException | Thrown when the index is invalid. |
Methods
Prepares a text dump of table.
Returns: A string containing the dump.
Gets the enumerator that visits any File3dmPlugInData in this table.
Returns: The enumerator.
TryRead
#public bool TryRead(File3dmPlugInData pluginData, Func<File3dm, BinaryArchiveReader, bool> dataReader)
Attempts to read a Rhino plug-in's custom data from the File3dm file.
Parameters:
| pluginData (File3dmPlugInData) | The plug-in whose data you want to try to read. |
| dataReader (Func<File3dm, BinaryArchiveReader, bool>) | The function that will read the data. This function must be implemented identical to the originating plug-in's PlugIn.ReadDocument(RhinoDoc, BinaryArchiveReader, FileReadOptions) method. |
Returns: The value returned by the data reading function if successful, false otherwise.