Scripting - Export Layouts with Camera movie with 3D scenes

I need to export the camera moves for my scenes, so I’m using Export Layouts to do that. Unfortunately, this doesn’t work with 3d scenes. With 3d scenes, Export Layouts ditches the camera move and only exports the first frame. Same with Export Bitmaps.

I’ve found that if I switch the scene back to 2d, it will kill all 3d objects, but Export Layouts and Bitmaps export the camera again. I’m running into two problems with this, though:

  1. The remaining 2d layers are not framed in camera the same as they were before the conversion.

  2. I can’t find a way to do this for all scenes in a project at once. Select all panels doesn’t work - it’ll only reset to 2d on whatever scenes your playhead is sitting on.

Is there a way to do this? I’ve been coding in Javascript, too, so that’s an option if it’s possible that way, but I can’t find anything.