OSM Diagnostic Script Doesn't Resave File
I want to run the OSM diagnostics to remove some very degenerate surfaces. I've done this before and usually the script saves a new file called "filename_diagnostics.osm" after running. The last few times I've tried it does save anything after running. Any ideas on how I can get it to resave the file again so I can use the changes it makes? Thank you!
It typically will only save it it found objects to change. Can you post the ruby console log from the script. There is a true/false argument when you run the script to remove objects for warnings vs. just telling you about them. Make sure that is set to true.
I have the same issue. the text from the OSM report is too long so I'll have to post it here in multiple comments:
File - C:/Users/Google Drive/_Re-Measure/_Projects/2018_01/Data/Model/OSM_1/Secure1-H.osm Model has 883 objects Model has 0 thermal zones Model has 11 spaces Model has 96 base surfaces Model has 9 sub surfaces Model has 0 shading surfaces Model has 0 interior partition surfaces
Removing catchall objects (objects unknown to your version of OpenStudio) none
Removing objects that fail draft validity test none
Surfaces with less than three vertices none
SubSurfaces with less than three vertices none
Surfaces with more than 25 vertices none
Surfaces with area less than 0.1 m^2 none
Surfaces with area less than 0.1 m^2 none
Surfaces and SubSurfaces which have similar geometry within same surface group none
Surfaces and SubSurfaces which have duplicate vertices none
Removing sizing:zone objects that are not connected to any thermal zone no orphaned sizing:zone objects were found
Removing ZoneHVAC:EquipmentList objects that are not connected to any thermal zone no orphaned ZoneHVAC:EquipmentList objects were found
Removing PortList objects that are not connected to any equipment no orphaned PortList objects were found
Removing LifeCycleCost objects that are not connected to any model object no orphaned LifeCycleCost objects were found
My errors are as follows:
Error: Sub Surface 7 This sub surface is missing its base surface, it cannot be drawn.
Error: Sub Surface 5 This sub surface is missing its base surface, it cannot be drawn.
Error: Sub Surface 8 This sub surface is missing its base surface, it cannot be drawn.
Error: Sub Surface 9 This sub surface is missing its base surface, it cannot be drawn.
Error: Sub Surface 10 This sub surface is missing its base surface, it cannot be drawn.