Help in writing a Ruby Script to render scenes in Enscape

Hello everyone! My name is Ashish and I’m new to using Ruby Script in Sketchup. I am currently working on a project that uses Keyframe to animate scenes. I want to render out a movie in Enscape with the scenes created. My questions would be as follows:

  1. Is it possible to directly Enscape render a set of scenes created using Keyframe?

I tried to resolve Question 1 but hit a dead end. I know that Keyframe forms Tweens to animate a movie. So -
2. Is it possible to write a Ruby Script such that it will toggle through each scene, render each scene in Enscape, and continue doing so until it hits the last scene?

If anyone has a rough idea of how this can work, would love to have a conversation about this and maybe discuss some ideas on algorithms to achieve the script.

Thank you!