Click or drag to resize

GH_DocumentContext Property

Gets or sets the context for this document. Note that the context is not a state so much as an action. Therefore it is not particularly useful to read the context after the fact, rather, context is mostly intended to be a setter, not a getter. When you set the context, all top-level document objects will be informed and the ContextChanged event will be raised.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public GH_DocumentContext Context { get; set; }

Property Value

Type: GH_DocumentContext

[Missing <value> documentation for "P:Grasshopper.Kernel.GH_Document.Context"]

See Also