How to make yellow colored 3d view at floor planner

This topic has been viewed 4187 times and has 7 replies
Thread status: Active
Questions about extending features and developing plug-ins [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
rahul18bisht
Posts: 21
Joined: Mon Mar 21, 2011 5:35 am
Country: dehradun, uttarakhand, india

How to make yellow colored 3d view at floor planner

Post by rahul18bisht »

How to make yellow colored 3d view at floor planner.
I am getting gray, but want it yellow or light yellow?

plz help
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: How to make yellow colored 3d view at floor planner

Post by Puybaret »

Select 3D view > Modify in the menu and choose the ground color you want in the dialog box.
Emmanuel Puybaret, Sweet Home 3D creator
rahul18bisht
Posts: 21
Joined: Mon Mar 21, 2011 5:35 am
Country: dehradun, uttarakhand, india

Re: How to make yellow colored 3d view at floor planner

Post by rahul18bisht »

I want yellow color of 3d view of house i.e of walls and rooms when it opens first time
rahul18bisht
Posts: 21
Joined: Mon Mar 21, 2011 5:35 am
Country: dehradun, uttarakhand, india

Re: How to make yellow colored 3d view at floor planner

Post by rahul18bisht »

how to do that ?
User avatar
hansmex
Posts: 4027
Joined: Sat Sep 26, 2009 11:36 am
Country: Netherlands

Re: How to make yellow colored 3d view at floor planner

Post by hansmex »

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
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: How to make yellow colored 3d view at floor planner

Post by Puybaret »

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
rahul18bisht
Posts: 21
Joined: Mon Mar 21, 2011 5:35 am
Country: dehradun, uttarakhand, india

Re: How to make yellow colored 3d view at floor planner

Post by rahul18bisht »

well.... I want to change programatically all walls colors to light yellow when 3d view of all walls opens first time ?

Please guide me.
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: How to make yellow colored 3d view at floor planner

Post by Puybaret »

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
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest