Click or drag to resize

GH_DocumentMergeDocument Method (GH_Document)

Hoist all objects from another document into this one.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public bool MergeDocument(
	GH_Document other
)

Parameters

other
Type: Grasshopper.KernelGH_Document
The other document. Cannot be Null or

Return Value

Type: Boolean
Remarks
The objects will be moved, not copied. The other document ends up being empty since objects can only belong to one document at a time.
See Also