GH_DocumentWrite Method (GH_IWriter, IListIGH_DocumentObject) |
Special function that allows writing of a custom object list.
This function is used when partial documents need to be serialized
such as when exporting or during clipboard operations.
Namespace:
Grasshopper.Kernel
Assembly:
Grasshopper (in Grasshopper.dll)
Syntaxpublic bool Write(
GH_IWriter writer,
IList<IGH_DocumentObject> objList
)
Public Function Write (
writer As GH_IWriter,
objList As IList(Of IGH_DocumentObject)
) As Boolean
Parameters
- writer
- Type: GH_IO.SerializationGH_IWriter
Writer to serialize with. - objList
- Type: System.Collections.GenericIListIGH_DocumentObject
Object list override
Return Value
Type:
Boolean
See Also