This script will swap all selected drawings in a single frame to drawing zero. I use drawing zero as an empty drawing instead of deleting and leaving an empty frame in the timeline. Because if you leave empty frames when you don’t want any exposure in the layer, when you extend the exposure with “F5” the places where you had empty spaces will be filled with the drawing that was exposed before the empty frame. Bad Toon Boom.
I wrote this when we were looking for unwanted palettes in our rig. Since Toon Boon only gives a missing palette warning when the drawing is appearing on your screen (not when you open the file, as it should), we had to expose every single drawing in our rig trying to find the element with the unwanted palette and deleting it.
I am aware that there is a way in Toon Boom to expose a sequence of drawings. Unfortunately it only works when your drawings are named like: 1,2,3,4… and so on. This script will expose all the drawings in the selected layers no matter what their names are. You may find other uses for it too.
If you’re having trouble using or don’t know where to save the files on your computer, feel free to ask me.