First time here? Check out the Help page!
1 | initial version |
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}
2 | No.2 Revision |
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.