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

Revision history [back]

For example, removing all EMS sensor objects:

ems_sensors = workspace.getObjectsByType("EnergyManagementSystem:Sensor".to_IddObjectType)

ems_sensors.each do |obj|
  obj.remove
end