Grasshopper API
GH_DocumentMergeDocument Method (GH_Document, Boolean) |
Hoist all objects from another document into this one.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public bool MergeDocument( GH_Document other, bool resolveProxies )
Public Function MergeDocument ( other As GH_Document, resolveProxies As Boolean ) As Boolean
Parameters
- other
- Type: Grasshopper.KernelGH_Document
The other document. Cannot be Null or - resolveProxies
- Type: SystemBoolean
If True, an attempt is made to repair proxy sources after insertion.
Return Value
Type: Boolean
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.
