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

Set Render By SurfaceType Colour in OpenStudio

asked 2015-11-19 19:15:32 -0500

pflaumingo's avatar

updated 2016-10-20 19:55:46 -0500

Can you set the rendering colour when using Render By SurfaceType in OpenStudio? I noticed that OpenStudio calls the request_paint method on the model interface for all rendering but SurfaceType.

Update All of the rendering views seem to work fine, but when I use render by SurfaceType my model looks like the following: image description It looks like it's in x-ray mode, but it's not. Is there a way to get solid colours back? Is this view expected or does it occur when a method fails?

edit retag flag offensive close merge delete


Why are you trying to customize this rendering mode, what are you going after?

macumber's avatar macumber  ( 2015-11-20 00:09:42 -0500 )edit

Updated the question. Not really functionality I'm seeking, but rather just want to check if the visual is an issue with a model or if it's editable in some way.

pflaumingo's avatar pflaumingo  ( 2015-11-20 11:19:31 -0500 )edit

Oh that does not look right, does it look right in other rendering modes? I would suggest opening the Ruby console and seeing if there are any messages when you switch to this rendering mode. Also, make sure you are not in x-ray rendering mode.

macumber's avatar macumber  ( 2015-11-20 11:28:01 -0500 )edit

Only output from the console is "Counterclockwise: fix unintended reversed face". X-ray mode is off and the other rendering modes work fine.

pflaumingo's avatar pflaumingo  ( 2015-11-20 11:35:03 -0500 )edit

I've started adding layers to my construction (before it had no layers) and then toggled between rendering modes and now it's working fine. Seems to just do that view when there are no layers to a construction.

pflaumingo's avatar pflaumingo  ( 2015-11-20 11:36:56 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-11-19 23:13:07 -0500

You can't customize the rendering colors in render by surface type or render by boundary condition, but you may consider using render by construction which can be customized. See documentation here.

edit flag offensive delete link more

Your Answer

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

Add Answer

Training Workshops

Question Tools

1 follower


Asked: 2015-11-19 19:15:32 -0500

Seen: 221 times

Last updated: Nov 20 '15