File3dmPlugInDataTable

References
Table of custom data provided by plug-ins

Properties

Count

#Since v5.0
public int Count { get; }
Gets the number of File3dmPlugInData objects in this table.

Indexers

this[]

#
public File3dmPlugInData this[int index] { get; }
Gets the File3dmPlugInData object at the given index.
index (int)Index of File3dmPlugInData to access.
The File3dmPlugInData at [index].
IndexOutOfRangeExceptionThrown when the index is invalid.

Methods

Clear

#Since v5.0
public void Clear()
Remove all entries from this table.

Dump

#Since v5.0
public string Dump()
Prepares a text dump of table.
A string containing the dump.

GetEnumerator

#Since v5.0
public IEnumerator<File3dmPlugInData> GetEnumerator()
Gets the enumerator that visits any File3dmPlugInData in this table.
The enumerator.
Explicit

IEnumerable.GetEnumerator

#Since v5.0
IEnumerator IEnumerable.GetEnumerator()

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.
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.
The value returned by the data reading function if successful, false otherwise.