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

Revision history [back]

click to hide/show revision 1
initial version

How to access openstudio model via Sketchup 2021 ruby console?

whereas in Sketchup 2017

model = Sketchup.active_model.model_interface.openstudio_model

in Sketchp 2021, the above returns an error message saying something like 'no such thing as .model_interface'.

I guess the Sketchup SDK changed.

Whats the new magic words to get to the openstudio model?

How to access openstudio model via Sketchup 2021 ruby console?

whereas in Sketchup 2017

model = Sketchup.active_model.model_interface.openstudio_model

in Sketchp 2021, the above returns an error message saying something like 'no such thing as .model_interface'.

I guess the Sketchup SDK changed.

Whats the new magic words to get to the openstudio model?