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

Revision history [back]

Once again, don't do this, the SketchUp Plug-in API is not a supported API and is subject to change. But if you need to for some crazy reason:

model = OpenStudio::Plugin.model_manager.model_interface.openstudio_model 
model.getSpaces.each {|space| puts space.drawing_interface.entity}

Once again, don't do this, the SketchUp Plug-in API is not a supported API and is subject to change. But if you need to for some crazy reason:

model = OpenStudio::Plugin.model_manager.model_interface.openstudio_model 
model.getSpaces.each {|space| puts space.drawing_interface.entity}

As for transforming between OpenStudio and SketchUp coordinates, see this.