Click or drag to resize

GH_DocumentMergeDocument Method (GH_Document, Boolean, Boolean)

Hoist all objects from another document into this one.

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

Parameters

other
Type: Grasshopper.KernelGH_Document
The other document. Cannot be null.
resolveProxies
Type: SystemBoolean
If True, an attempt is made to repair proxy sources after insertion.
removeProxies
Type: SystemBoolean
If True, all remaining proxies will be deleted.

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