Is there away to change 2D background color?
This topic has been viewed 11258 times and has 4 replies
-
thomasmendozajr
- Posts: 12
- Joined: Sun Dec 29, 2019 4:32 pm
- Country: United States
Is there away to change 2D background color?
I was wondering if there was a way to change the background color in the 2d window Od rather use a darker color
Re: Is there away to change 2D background color?
Only by program, by calling setBackground method on the plan component.
Emmanuel Puybaret, Sweet Home 3D creator
- Daniels118
- Posts: 503
- Joined: Wed Nov 17, 2021 9:04 pm
- Country: Italy
Re: Is there away to change 2D background color?
You may import a background image of the color you like. When importing specify a size larger than your home so that it covers the whole plan even if you zoom out.
You have to import the background on each level.
Be aware that a too dark background will reduce the contrast with lines.
You have to import the background on each level.
Be aware that a too dark background will reduce the contrast with lines.
-
thomasmendozajr
- Posts: 12
- Joined: Sun Dec 29, 2019 4:32 pm
- Country: United States
Re: Is there away to change 2D background color?
Sounds good but how do I call setbackground on plan component? I haven’t messed with a lot of coding in sweethome3d but that would be great so I can set plans for all my foundations plans and layout plans,
Re: Is there away to change 2D background color?
If you're able to run Sweet Home 3D from code source, simply change implementation of [font=courier new]getBackgroundColor[/font] and [font=courier new]getForegroundColor[/font] in PlanComponent class. Otherwise, this might be difficult.
Emmanuel Puybaret, Sweet Home 3D creator
Who is online
Users browsing this forum: No registered users and 1 guest