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

Revision history [back]

The Space class has a lights method. So you can do:

space.lights.each do |light|
  light_def = light.lightsDefinition
  ...
end