Grasshopper API
GH_DocumentIOCopy Method (GH_ClipboardType, Boolean) |
Copy the internal document into the clipboard.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public bool Copy( GH_ClipboardType clipboard, bool limitToSelection )
Public Function Copy ( clipboard As GH_ClipboardType, limitToSelection As Boolean ) As Boolean
Parameters
- clipboard
- Type: Grasshopper.KernelGH_ClipboardType
Specifies the clipboard type to use. - limitToSelection
- Type: SystemBoolean
If true, only the selected objects will be copied.
Return Value
Type: BooleanTrue on success, false on failure.
