IGH_Document

References
public sealed class IGH_Document
A wrapper around an instance of GH_Document class as defined in Grasshopper 1.

Constructors

IGH_Document

#
Create a new document wrapper.
public IGH_Document(
dynamic
underlying
)

Properties

FilePath

#
Gets the file path associated with the document.
public string FilePath { get; }

ObjectCount

#
Gets the number of top-level objects in the document.
public int ObjectCount { get; }

Objects

#
Iterate over all top-level objects in the document.
public IEnumerable<IGH_DocumentObject> Objects { get; }

Underlying

#
Gets the instance of the Grasshopper 1.0 document.
public dynamic Underlying { get; }

Wires

#
Iterate over all wires in the document.
public IEnumerable<WireEnds> Wires { get; }