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

Revision history [back]

Openstudio Error: Sub surface is not contained by its base surface

It's quite similar to a previous question titled Subsurface is missing its base surface, it cannot be drawn, but I believe this is different enough to warrant another question.

Indeed, the error I'm getting is:

Error:  glz_0_RightWingWalkway-Roof_c98937c2c6fc4db8af1c_141
This sub surface is not contained by its base surface, it cannot be drawn

I'd like to put an emphasis on the "not contained".

The problem is that if it can't be drawn, you can't delete it.

Additionally, I'm getting the error for ~150 of them (geometry created in third party software), so doing it manually isn't feasible anyways.

There is an OpenStudio user script called "Remove Orphan Subsurfaces", but in this case the subsurface isn't actually orphaned, so the script doesn't clean it up.

So, is there a "Remove subsurfaces not contained in base surface" script out there?