3.1
remove_orphan_objects_and_unused_resources
c618f299-a245-49ce-a119-82eb54007ede
65cd4e9a-d035-423a-8a58-853a318d2cab
2024-07-11T14:32:07Z
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
LICENSE.md
md
license
BFFB1AA6
README.md
md
readme
3D163369
README.md.erb
erb
readmeerb
703C9964
OpenStudio
2.0.0
2.0.0
measure.rb
rb
script
F3D52604
1125_infil_test_a.osm
osm
test
E8A821F1
remove_orphan_objects_and_unused_resources_test.rb
rb
test
931450B4