3.0 remove_orphan_objects_and_unused_resources c618f299-a245-49ce-a119-82eb54007ede cbd91dc6-4e6b-4db6-96e4-25f290510e41 20230607T052232Z 28AD5222 RemoveOrphanObjectsAndUnusedResources Remove Orphan Objects and Unused Resources This is the start of a measure that will have expanded functionality over time. It will have two distinct functions. One will be to remove orphan objects. This will typically include things that should never have been left alone and often are not visible in the GUI. This would include load instances without a space or space type, and surfaces without a space. A second functionality is to remove unused resources. This will include things like space types, schedules, constructions, and materials. There will be a series of checkboxes to enable/disable this purge. There won't be an option for the orphan objects. They will always be removed. Purging objects like space types, schedules, and constructions requires a specific sequence to be most effective. This measure will first remove unused space types, then load defs, schedules sets, schedules, construction sets, constructions, and then materials. A space type having a construction set assign, will show that construction set as used even if no spaces are assigned to that space type. That is why order is important. remove_unused_space_types Remove Unused Space Types Boolean true false false true true false false remove_unused_load_defs Remove Unused Load Definitions Boolean true false false true true false false remove_unused_schedules Remove Unused Schedules Sets and Schedules Boolean true false false true true false false remove_unused_curves Remove Unused Curves Boolean true false false true true false false remove_unused_constructions Remove Unused Construction Sets, Constructions, and Materials Boolean true false false true true false false Whole Building.Space Types Measure Type ModelMeasure string Intended Software Tool Apply Measure Now string Intended Software Tool OpenStudio Application string Intended Software Tool Parametric Analysis Tool string Intended Software Tool Analysis Spreadsheet string Intended Use Case Model Articulation string README.md.erb erb readmeerb 703C9964 1125_infil_test_a.osm osm test E8A821F1 README.md md readme 3D163369 LICENSE.md md license 64FFEBDE remove_orphan_objects_and_unused_resources_test.rb rb test A54B8567 OpenStudio 2.0.0 2.0.0 measure.rb rb script 0B14129B