IGH_DocumentOwner

References
public interface IGH_DocumentOwner
Implement this interface if you want to be the owner assigned to a document in the Grasshopper documentserver.

Methods

DocumentClosed

#
void DocumentClosed(GH_Document document)
This method will be called whenever the owner document was closed.
document (GH_Document)the closed docment.

DocumentModified

#
void DocumentModified(GH_Document document)
This method will be called whenever the owned document is modified.
document (GH_Document)The modified document.

OwnerDocument

#
GH_Document OwnerDocument()
If the IGH_DocumentOwner is part of a GH_Document of its own, this function will return that document.