Click or drag to resize

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
)

Parameters

doc
Type: Grasshopper.KernelGH_Document
Document to copy.

Return Value

Type: GH_Document
A document similar to the input on success, or nothing on failure.
See Also