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 3 years ago

Fatima1991's avatar

updated 3 years ago

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

Preview: (hide)

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  ( 3 years ago )

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

Ammar De's avatar Ammar De  ( 3 years ago )

1 Answer

Sort by » oldest newest most voted
0

answered 3 years ago

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

Preview: (hide)
link

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  ( 3 years ago )

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: 3 years ago

Seen: 147 times

Last updated: Jul 08 '21