This used to work in prior versions of Sketchup, but no longer does (SU2018 MacOS 10.14), and seems to be de-coupled from the Model Info->Animation->Enable scene transitions checkbox. Steps to reproduce:
Check the box Enable scene transition.
Enter Sketchup.active_model.options["PageOptions"]["ShowTransition"]=false in the Ruby console window.
Thanks. My version and yours do seem to work when called from the menu item. Using a shortcut key sometimes works, and sometimes doesn’t, and even invoking from the Ruby console sometimes fails. Maybe it gets confused about active_model. I’ll monitor and see if I can spot a pattern.
The options are completely decoupled from UI / Scenes behavior. On Windows everything is fine.
It is very important for me to temporarily disable page transitions, but on Mac it is not possible any more.
Just modify the Animation settings in a model and you will see that the values read by the above code do not change.
I tested the code in SU2019.1 and it works fine! So it must be a recent thing…
I would have to write one. It happens in our Batch Render on Mac. At some point, active_model is not accessible anymore and instead of rendering next scene, the last one is being rendered. It is not easy to replicate, because it requires certain user behaviour, which I have not yet identified.
Maybe we will try something in Leeds?