PDA

View Full Version : Change backround color - viewport refresh


Nicool
04-24-2008, 05:32 PM
Hi all!

I want a quick macro to change viewport background color to black
then make an animation preview
then turn viewport background to middle grey

But viewport color is not refresh before (neither after) preview !
Every fragments of the following script work, but the macro doesn't change bg color :(



SetUIColor 41 [0,0,0]
colorMan.repaintUI #repaintAll

max preview

SetUIColor 41 [0.5,0.5,0.5]
colorMan.repaintUI #repaintAll


Any idea ?

zortech
04-24-2008, 05:46 PM
Just evaluated your code and it works fine using Max R8. o.O

ZeBoxx2
04-24-2008, 06:29 PM
ditto in r5 - so glad it changed back, too ;)

Nicool
04-24-2008, 08:41 PM
Yeah sorry, I restarted max and it works well... anyway :curious:

CGTalk Moderation
04-24-2008, 08:41 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.