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

How can I add a lightshelf to my model in sketchup?

asked 2021-07-08 15:56:54 -0600

Fatima1991's avatar

updated 2021-07-08 16:36:01 -0600

Hi How can I add a lightshelf to my model in sketchup? I LOOK FORWARD TO HEARING FROM YOU. Many thanks

edit retag flag offensive close merge delete

Comments

@Fatima1991 there are separate SketchUp plug-ins depending on if you're working with EnergyPlus models (IDFs) or OpenStudio models (OSMs). Which do you plan on using?

Aaron Boranian's avatar Aaron Boranian  ( 2021-07-08 16:36:52 -0600 )edit

@Fatima1991 you can check these two posts (Post1 and Post2) as they might be helpful.

Ammar De's avatar Ammar De  ( 2021-07-08 20:29:15 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-07-08 16:46:46 -0600

Fatima1991's avatar

Dear Aaron I'm a Ph.D. student and I'm gonna study on a light shelf considering thermal and visual comfort. I want to model my office in SketchUp with the aid of open-studio then I simulate it in EnergyPlus and finally optimize it in jEPlus+ea, but I'm confusing, I cant add a light shelf in SketchUp, which means I used the bellow code but I faced an Error!

sketchup_model = Sketchup.active_model model = sketchup_model.model_interface.openstudio_model

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

edit flag offensive delete link more

Comments

@Fatima1991 thank you for the information. This is a comment on your question, not an answer to your question. I see that you also created a new post for the Ruby scripting error you mentioned here, which is great since that is a new question from what you asked here. Would you mind converting this from an answer to a comment? It will need to be shorter (600 character limit for comments) or split into multiple comments.

Aaron Boranian's avatar Aaron Boranian  ( 2021-07-09 07:37:23 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2021-07-08 15:56:54 -0600

Seen: 136 times

Last updated: Jul 08 '21