I am currently working on designing my own plugin in Sketchup using the Ruby API. I was wondering whether there was any tool/extension that would allow me to record whatever I do in the program as a Ruby macro so that it would make it much easier to produce code to recreate exactly what I want. Any help would be appreciated.
No. I loved to have that feature when I started learning the sketchup ruby API years ago.
The problem is that the built-in operations in the GUI do not run Ruby, they are compiled functions. So, converting a sequence of them to a Ruby script could be quite difficult.
SketchUp creates an Undo file in the TEMP folder. It could be read and converted into Ruby statements.
1 Like
Realmente é uma boa ideia para uma extensão, gostei.