Ruby Snippets in ScrapBooks

I am not sure if I am right about this, but to me it looks like you could paste text in the ruby console.

In LayOut, you have ScrapBooks that can have all kinds of texts

1 Like

try

Layout.methods

and see what you get…

john

1 Like

Ruby “live” within LayOut is not ready for primetime.

There are no Layout module functions, no UI module loaded, and in fact the Ruby base load paths are incorrect for the LayOut installation and would need to be corrected in order to simply load standard libraries such as JSON. In addition the Sketchup module is empty and so no way to load RBS or RBE files.

It was a “booboo” that the Ruby Console is even loaded at this time.

Or intended…little teasers for the moarning crowd.