How to duplicate a scene

Post Reply New Topic
RELATED
PRODUCTS

Post

I tried to duplicate a scene. For deleting a scene, I use this:

Code: Select all

trackBank.sceneBank().getItemAt(y).selectInEditor();
application.remove();
That works just fine, so I assumed for duplicating I could simply use:

Code: Select all

trackBank.sceneBank().getItemAt(y).selectInEditor();
application.duplicate();
But this duplicates the selected track, not the scene.
So I though I'll be clever and I did this:

Code: Select all

trackBank.sceneBank().getItemAt(y).selectInEditor();
application.getAction("Duplicate Special").invoke();
But apparently that does nothing.

So, how can I duplicate a scene?

Thanks a lot!

Post

It is not possible with API 6 but API 7 (Bitwig 2.4) brings InsertionPoint. E.g. on a sceneBank you can call nextSceneInsertionPoint() and then use copySlotsOrScenes() .

Post Reply

Return to “Controller Scripting”