Print at Dec 19, 2025, 6:03:05 PM
Posted by rahul18bisht at May 19, 2011, 4:13:50 PM
How to make yellow colored 3d view at floor planner
How to make yellow colored 3d view at floor planner.
I am getting gray, but want it yellow or light yellow?

plz help

Posted by Puybaret at May 19, 2011, 6:44:28 PM
Re: How to make yellow colored 3d view at floor planner
Select 3D view > Modify in the menu and choose the ground color you want in the dialog box.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by rahul18bisht at May 20, 2011, 5:17:51 AM
Re: How to make yellow colored 3d view at floor planner
I want yellow color of 3d view of house i.e of walls and rooms when it opens first time

Posted by rahul18bisht at May 20, 2011, 5:18:08 AM
Re: How to make yellow colored 3d view at floor planner
how to do that ?

Posted by hansmex at May 20, 2011, 6:15:20 AM
Re: How to make yellow colored 3d view at floor planner
Rahul,

The standard colour for walls, floors and ceilings is light gray. There is no way to change this from within the program.

If it is important to you, you can try to change the program code of SH3D. The source code is publicly available. And of course, you can ask Puybaret to point you in the right direction.

A fast way to change all walls or rooms is to select your entire design with CTRL-A, then right-click and select Modify walls or Modify rooms.

Hans
----------------------------------------
Hans

new website - under constuction
hansdirkse.info

Posted by Puybaret at May 20, 2011, 7:54:17 AM
Re: How to make yellow colored 3d view at floor planner
Hans, this thread is in Developers section so I think rahul wants to do that programmatically.
Even I didn't realize that in my first answer, it should have helped you, rahul, to find out how to do that, using Eclipse Search > File... menu item to search where "Ground color" label comes from and how it's used in the program. Setting the ground color is done in com.eteks.sweethome3d.model.HomeEnvironment class, and to change the default color, you'll just have to call its setGroundColor method when a com.eteks.sweethome3d.model.Home instance is created.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by rahul18bisht at May 20, 2011, 1:59:05 PM
Re: How to make yellow colored 3d view at floor planner
well.... I want to change programatically all walls colors to light yellow when 3d view of all walls opens first time ?

Please guide me.

Posted by Puybaret at May 20, 2011, 4:12:50 PM
Re: How to make yellow colored 3d view at floor planner
Find the method that will return the walls list, then for each wall change the color of its left and right side. Where do you find this difficult?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator