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
)
Public Function SafeRemoveDocument (
document As GH_Document
) As Boolean
Parameters
- document
- Type: Grasshopper.KernelGH_Document
Document to remove.
Return Value
Type:
BooleanTrue if the document was removed, false if otherwise.
See Also