Page 1 of 1

How can I see the Project Background Color in the Viewport?

Posted: Mon Aug 02, 2021 12:19 am
by mgo
For now it seems I can only change the VP background globally. Would make more sense to see the project BG, though. Any hints?

Re: How can I see the Project Background Color in the Viewport?

Posted: Mon Aug 02, 2021 12:40 am
by Lukas
mgo wrote: Mon Aug 02, 2021 12:19 am For now it seems I can only change the VP background globally. Would make more sense to see the project BG, though. Any hints?
Here's a script that automatically sets the viewport background color to match the project background color. Test if it works by creating two projects with different background colors and switching between project tabs, the viewport color setting should change immediately. If you change the background color on an open project, you need to move in/out of frame 0 for it to make the change: Just drop it in your tools folder (it won't show up in the toolbar).

It simply runs this line of code:

Code: Select all

MOHO.MohoGlobals.BackCol = moho.document:BackCol()

Re: How can I see the Project Background Color in the Viewport?

Posted: Mon Aug 02, 2021 12:55 am
by mgo
Lukas, my Monday just got better. That is exactly what I was looking for :D

Thanks a lot!

Re: How can I see the Project Background Color in the Viewport?

Posted: Mon Aug 02, 2021 1:16 am
by Lukas
Happy to help 😎