It looks like you're new here. If you want to get involved, click one of these buttons!
you are right, that is not possible now. That feature is on my wish list as well.
The basic problem is that the ruby interface right now is designed on a somewhat different layer than the user interface. In that respect it's more like the SKILL interface of DFII. It would be simple if Ruby would just record user interactions and replay that.
For example, if you delete a shape and like to record that as Ruby code, it's not just like a "delete selection" command, because for Ruby there is no selection. Instead it would be like "locate the shape somehow in the database and then delete it" with emphasis on "somehow" because that is the tricky part ... :-)
Bottom line is, macro recording would look pretty different with RBA than expected. It would be far easier to provide a function to dump a layout as ruby code for example. Would that be useful as well?
I see the point. It should be possible to record simple actions but it's likely that some operations cannot be mapped because there is not Ruby equivalent available right now.