SketchUp Ruby API Cheatsheet
I like working with cheatsheets when I do coding. Although the online API reference is very extensive and has great examples and the downloadable version is a good solution when you’re offline, this one may be useful as a reference once you mastered the basic concepts. It contains the full API reference in a condensed form. It also has a plugin template and some code snippets. Feel free to suggest improvements and additions for future versions.
You can download the PDF file here:
SketchUp Ruby API and Plugins Cheatsheet v.2.3 [SU v.7.1 M1] (63.18 KB, downloaded 1179 times) -
Other useful Ruby cheatsheets and helpers are:
- SketchUcation – Ruby forum (look for the sticky posts for general helpers)
- Notepad++ autocomplete files – also from SCF
- Jim’s WebConsole – a coding helper in SketchUp
- Ruby cheatsheets: here, here, here
Below is an older version of the cheatsheet. It lists only the API classes and methods line-by-line and prints on five pages.
SketchUp Ruby API listing v.1 [SU v.7] (28.16 KB, downloaded 715 times) -
![[as]](http://www.alexschreyer.net/blog/wp-content/themes/alex-2009/img/as.png)





There's a minor bug in the last page.
module my_module
should be
module My_module
because modules names have to be constant, i.e. start with a capital letter
Thanks for the correction, Fil. I made the change.
Cheers, Alex