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

after changing thermal zone in sketchup, the thermal zone list in OS still remains the same

asked 2021-04-25 22:02:18 -0500

Brianna's avatar

updated 2021-07-09 16:38:56 -0500

Hello, I changed the thermal zone in sketchup, group space1/thermalzone1 and space2/thermalzone2 together into one single zone thermalzone1. But when I came back to the OS, the theramlzone2 is still there. So I need to manually delete them in OS as well ? is there anyway to auto delete unused one? thank you

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-04-25 22:50:30 -0500

I'm not aware of a user script that does this but it would be pretty easy to add (see end of answer). However you can take a different approach to creation and assigning of zones.

  1. Create zones that have multiple spaces and assign those spaces to the zone.
  2. When all multi-space zones have been made and assign then run the Add New Thermal Zone For Spaces With No Thermal Zone user script to create and assigns zones for the remaining spaces.

With this approach there shouldn't be a need to delete any zones. If you want to write script to delete un-used zones would look something like this.

model.getThermalZones.each do |zone|
  if zone.spaces.size == 0 then zone.remove end
  # could add further check for non zero floor area and for more than 1 space surface
end
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2021-04-25 22:02:18 -0500

Seen: 65 times

Last updated: Apr 25 '21