How to getAirloopHVACByName
I'm trying to add zones to airloops, via a measure. Using the ruby console in Sketchup, I see a likely helper method
model.methods.grep(/getA/i)
... :getAirLoopHVACByName
myairloop = model.getAirLoopHVACByName("my air loop")
I have a few questions
- I can't find any documentation of that method on the aws sdk, is there a reason for that?
- Using getAirLoopHVACByName("my air loop") returns an OptionalAirLoopHVAC, does that mean it has not found 'my air loop' but returned something else?
- myairloop.name doesn't allow me to handle it by name. Is there another way to handle it by its name, e.g by looping over all air loops and then matching by name?