The following methods allow the copying of text and bitmap values to and from the Windows Clipboard.
These methods are available in 3ds Max 2008 and higher.
They were previously available in the Avguard Extensions.
Get/Set the text string in Window's clipboard. getclipboardText() returns a string value, or undefined if the clipboard does not contain a string. setclipboardText() returns true if the string was successfully placed in the clipboard, an integer error code if failed. Error code meanings are:
-1:memory could not be allocated
-2:clipboard could not be opened
-3:clipboard could not be cleared
Get/Set the bitmap in Window's clipboard. getclipboardBitmap() returns a bitmap value, or undefined if the clipboard does not contain a bitmap. setclipboardBitmap() returns true if the bitmap was successfully placed in the clipboard, an integer error code if failed. Error code meanings are:
-1:memory could not be allocated
-2:clipboard could not be opened
-3:clipboard could not be cleared