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

Revision history [back]

click to hide/show revision 1
initial version

How can I add a lightshelf to my model via measure in OpenStudio?

I am trying to write a simple ruby script but I keep getting the following error: Undefined local variable for main: Object (NameError)

new_lightshelf =subsurfaces[11].addDaylightingDeviceShelf() 
      #<OpenStudio::Model::OptionalDaylightingDeviceShelf:0x0001c817a91b78>
       new_lightshelf.empty
       false
       aa=new_lightshelf.get
       OS=DaylightingDevice=Shelf,
       #{d3e8c95e-9f08-4a5-8acf4-c2b79d7df8c4},   !- Handle
       #Daylighting Device Shelf 1,            !- Name
       #{72f98f0b-6b8a-4ba6-920d-83994f4287e7}; !- Window Name
       #aa.class
       #OpenStudio::Model::DaylightingDeviceShelf
       aa.name
       #Daylighting Device Shelf 1

How can I add a lightshelf to my model via measure in OpenStudio?

Hi there I am trying modeled a room in sketchup and I want to write add a simple ruby script lightshelf to it. I heard I can do this via measure in openstudio, but I keep getting the following error: Undefined local variable for main: Object (NameError)donna how. Could you help me please? Many thanks

new_lightshelf =subsurfaces[11].addDaylightingDeviceShelf() 
      #<OpenStudio::Model::OptionalDaylightingDeviceShelf:0x0001c817a91b78>
       new_lightshelf.empty
       false
       aa=new_lightshelf.get
       OS=DaylightingDevice=Shelf,
       #{d3e8c95e-9f08-4a5-8acf4-c2b79d7df8c4},   !- Handle
       #Daylighting Device Shelf 1,            !- Name
       #{72f98f0b-6b8a-4ba6-920d-83994f4287e7}; !- Window Name
       #aa.class
       #OpenStudio::Model::DaylightingDeviceShelf
       aa.name
       #Daylighting Device Shelf 1

How can I add a lightshelf to my model via measure in OpenStudio?

Hi there I modeled a room in sketchup and I want to add a lightshelf to it. I heard I can do this via measure in openstudio, but I donna how. Could you help me please? Many thanks

How can I add a lightshelf to my model via measure in OpenStudio?

Hi there I modeled a room in sketchup and I want to add a lightshelf to it. I heard I can do this via measure in openstudio, but I donna how. Could you help me please? Many thanks