An object that represents copied content in memory.
This object is used within OMC::Clipboard and is provided when copying content into memory. It can be used in various methods to reference and paste data afterwards.
The object doesn't provide any direct utility, but references a unique clipboard object in memory.
Copying Content
from ToonBoom import harmony
sess = harmony.session()
proj = sess.project
scene = proj.scene
clipboard = scene.clipboard
selection_handler = scene.selection
selection_handler.nodes.select_all()
copy_object = clipboard.copy( selection_handler.nodes.list() )
selection_handler.select_none()
new_nodes = clipboard.paste_new_nodes( copy_object, scene.top )
for node in new_nodes:
print( "Pasted: %s"%(node.path) )
if node.parent_group().path == scene.top.path:
node.position.y = node.position.y + 300