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
)
Public Function MergeDocument (
other As GH_Document
) As Boolean
Parameters
- other
- Type: Grasshopper.KernelGH_Document
The other document. Cannot be Null or
Return Value
Type:
BooleanRemarks 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