3

Where can I find the source code for "Create Space from Diagram" measure [closed]

Hello everyone,

I am thinking about writing a script that "autocompletes" loose SketchUp geometry and creates usable OpenStudio spaces.

My first thought was to look and understand how the "create space from diagram" measure works but I could not find it in the OpenStudio measure library.

Does anyone know where I can find the source code for this measure?

Or can anyone give some tips as to where to start developing this script?

Thanks,

Mauro

mpcontreras's avatar
33
mpcontreras
asked 2019-09-19 13:37:39 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2020-01-13 16:39:55 -0500
edit flag offensive 0 remove flag reopen merge delete

Closed for the following reason "the question is answered, right answer was accepted" by Luis Lara 2019-09-26 15:15:17 -0500

Comments

add a comment see more comments

1 Answer

4

The code for the 'Create Spaces from Diagram' tool in the Sketchup Plugin can be found in your OpenStudio installation folder (at least for now), in

/openstudio-2.8.0/SketchUpPlugin/openstudio/sketchup_plugin/lib/dialogs/SpaceDiagramInterface.rb

or here: https://github.com/NREL/OpenStudio/bl...

ericringold's avatar
10.6k
ericringold
answered 2019-09-19 16:04:07 -0500
edit flag offensive 0 remove flag delete link

Comments

Excelent!

Thanks a lot Eric

:D

mpcontreras's avatar mpcontreras (2019-09-20 10:36:36 -0500) edit
add a comment see more comments