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

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

Properties

FilePath

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

ObjectCount

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

Objects

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

Underlying

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

Wires

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