Is it possible to control the drawing of the Layout through the Ruby Code Editor in SketchupPro? If so, could you give me an example?
You can read and manipulate Layout file within your Extension - or from Ruby Console - in SketchUp.
https://ruby.sketchup.com/file.LayOut.html:
…
Using the LayOut Ruby API in SketchUp
The LayOut Ruby API is included in the SketchUp application, meaning developers may utilize the LayOut Ruby API from within their SketchUp application via the console, or in their SketchUp Ruby extension without being required to include it. …
See more:
https://forums.sketchup.com/search?q=Layout%20Ruby%20API%20%23developers%3Aruby-api
Please use the [Developers][ Ruby API ] category for your specific question.