Question-and-Answer Resource for the Building Energy Modeling Community
Get s tarted with the Help page
Ask Your Question
3

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

asked 2019-09-19 13:37:39 -0500

mpcontreras gravatar image

updated 2020-01-13 16:39:55 -0500

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

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Luis Lara
close date 2019-09-26 15:15:17.970027

1 Answer

Sort by ยป oldest newest most voted
4

answered 2019-09-19 16:04:07 -0500

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...

edit flag offensive delete link more

Comments

Excelent!

Thanks a lot Eric

:D

mpcontreras gravatar image mpcontreras  ( 2019-09-20 10:36:36 -0500 )edit

 

Question Tools

1 follower

Stats

Asked: 2019-09-19 13:37:39 -0500

Seen: 90 times

Last updated: Sep 19 '19