GH_DocumentContext

References
public enum GH_DocumentContext
Enumerates all possible (de)activation contexts for documents.

Enum values

NameValueDescription
Unknown0Specifies unknown context. This should never be used.
None1Specifies unset state. This is only used for documents that have never been in a context.
Open2Indicates the document was created anew from a file.
Close3Indicates the document has been unloaded from memory.
Loaded4Indicates the document has been loaded into the Canvas.
Unloaded5Indicates the document has been unloaded from the Canvas.
Lock6Indicates the document has been locked. This is only possible for nested documents.
Unlock7Indicates the document has been unlocked. This is only possible for nested documents.