GH_DocumentDuplicateDocument Method |
Attempt to duplicate a document.
Namespace:
Grasshopper.Kernel
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public static GH_Document DuplicateDocument(
GH_Document doc
)
Public Shared Function DuplicateDocument (
doc As GH_Document
) As GH_Document
Parameters
- doc
- Type: Grasshopper.KernelGH_Document
Document to copy.
Return Value
Type:
GH_DocumentA document similar to the input on success, or nothing on failure.
See Also