Enabling scene transitions with code?

i have tried updating the transition_time to the pages my code creates but i still have to manually go check ‘Enable scene transitions’ from the model info window

is there any way to toggle/enable the scene transitions with ruby?

Sketchup.active_model.options["PageOptions"]["ShowTransition"]=true