First time here? Check our help page!
4

Can anyone suggest where I can find a book or pdf on Open Studio ruby scripting

Dear all, I am currently learning how to write ruby codes on SketchUp. I also need to learn how to write ruby scripts for Open Studio plugin of Sketchup. Can anyone suggest any useful links please.

Shayne's avatar
51
Shayne
asked 2017-10-17 03:48:47 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2017-10-17 19:42:26 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

3

NREL has a Measure Writing Guide and Developing Measure Collections guide on the OpenStudio wiki.

You'll want to get familiar with the OpenStudio SDK to learn model object methods.

SketchUp measures are nearly identical to OpenStudio measures, the difference being that you can use commands like runner.inSelection() to filter objects that are selected in sketchup. This is useful if you want to apply a measure only to a selected subset of your model, e.g. adding/removing windows from specific surfaces.

I'm not aware of any OpenStudio measure writing books or free online trainings at this point.

EDIT (20Jun2018): There is now a book on Building Energy Modeling with OpenStudio by the NREL team. You can also see examples of OpenStudio measures and SketchUp scripts on the Unmet Hours Github page.

mdahlhausen's avatar
9.5k
mdahlhausen
answered 2017-10-17 13:42:03 -0500, updated 2018-06-20 14:06:59 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments