Click or drag to resize

GH_DocumentServerSafeRemoveDocument Method

Remove a document correctly from the server. This method shows user-interface prompts if there is unsaved data and will also save if needed.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public bool SafeRemoveDocument(
	GH_Document document
)

Parameters

document
Type: Grasshopper.KernelGH_Document
Document to remove.

Return Value

Type: Boolean
True if the document was removed, false if otherwise.
See Also