How can I correct the below code? [closed]

Thank you

new_lightshelf =subsurfaces[11].addDaylightingDeviceShelf() 
#<OpenStudio::Model::OptionalDaylightingDeviceShelf:0x0001c817a91b78>
new_lightshelf.empty?
false
aa=new_lightshelf.get
OS:DaylightingDevice:Shelf,
{d3e8c95e-9f08-4a58-acf4-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

Thank you

Fatima1991's avatar
63
Fatima1991
asked 2021-07-08 16:39:07 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2021-07-09 16:27:48 -0500
edit flag offensive 0 remove flag reopen merge delete

Closed for the following reason "duplicate question" by Aaron Boranian 2021-07-09 07:41:08 -0500

Comments

Duplicate of this post.

Aaron Boranian's avatar Aaron Boranian (2021-07-09 07:41:23 -0500) edit
add a comment see more comments