How to delete ModelObject in OpenStudio with Ruby bindings?
I'm confused in recent how a object in openstudio to be deleted or removed? for some object such as AirLoopHVAC, it has method .remove, but for some components, such as coil, unit heater, PTAC, they don't have method to delete from model.
Using unit heater as example, I can remove it from thermal zone, remove the components in this unit heater (fan, coil, etc.) but how can I remove it completely from model, get rid off it from the list which called from model.getZoneHVACUnitHeaters ?
is there have a general method to delete or remove modelobject completely from model? I can't not find it in ModelObject Class Reference or its child hierarchy.
Sorry to ask fundamental ruby questions all the time.