[ruby-doc]The missing Sample Code scripts compilation
-
In the very old SketchUp Ruby API Deveoper'sGuide there is a part that reads "SketchUp Ruby API Example Code" in that section it describes a zip file that you can download from the main sketchup site (the @Last era one), and see test/sample code for most of the classes of the Sketchup API. I even remember myself having downloaded this file once and it was a real eye-opener, I occupied wmyself with script in Sketchup lately once again and I found the need for those files. I went to the wiki doc site and found that the Example Code fields links' where not existant. I googled the filename of a test file and found a url leading to an .rb,... tried it without the filename and it responded 404,... I changed to another filename and there it was. I went through the Classes and downloaded each sample code file I could find from that url.
Btw it is a url to a google server.(http://download.sketchup.com/sketchuphelp/gsu6_ruby/Sample Code/<filename.rb>)
Long story short I present to you a nice asset especially if you are still at novice level like me...
It contains 61 scripts, and there are some classes missing due to the fact that there was nothing to download.
I prepended the filenames with a number just so I could see the order I was downloading. -
Nice detective work!
-
Coool Thank you Herodes !
-
Ah! Great!
I really wish Google would sort out the SU API docs... grumble
Advertisement