Revision history [back]
As the error message says, the surface was not drawn. Because it was not drawn, it can't be deleted with Sketchup or OpenStudio Inspector tools.
A visual, simple, nothing fancy technique here is to use the OpenStudio Inspector to re-assign the Space to which that surfaces belongs. i.e.
- create new space
- rename new space 'delete me' via the OpenStudio Inspector
- identify erroneous surface, and via the Inspector, change that surface's Space to 'delete me'
- save your .osm
- reload .osm
- you should see the problem surface rendered in space 'delete me'
- now that you can see it, you can delete it
alternatively, try this in the ruby console.
model = Sketchup.active_model.model_interface.openstudio_model
erroneous_surface = model.getSurfaceByName("Surface 171")
erroneous_surface.remove()