API Methods by SU Version - 2012 year end edition
-
For anyone interested, here's a spreadsheet listing SketchUp API methods and the version they were introduced into the API. It's current as of today - made by scraping the latest API docs here: http://www.sketchup.com/intl/en/developer/docs/classes
-
hi Jim,
cheers for this
is it possible to get allSketchup.send_action
's from SU to use in code, or do i need to download the 'latest list' and hardcode them?I'm still trying to make a better toolbar for mac's...
john -
-
@driven said:
is it possible to get all Sketchup.send_action's from SU to use in code, or do i need to download the 'latest list' and hardcode them?
For the send_actions, it's easier to just copy and paste off the web page. The send_action page elements aren't distinguishable enough for easy scraping.
But...
require 'open-uri' require 'nokogiri' url = 'http://www.sketchup.com/intl/en/developer/docs/ourdoc/sketchup' page = Nokogiri;;HTML(open(url)) page.css('.apireference li').each do |ent| puts ent.text end
Ruby not SketchUp Ruby
-
FYI: two other threads on
send_action()
I have begun a reference spreadsheet (in ods format) on the many actions (many not documented elsewhere,) but it is not fully complete.
Advertisement