Notifications
Clear all

[Closed] home grid color

I’m trying to change color of home grid and following code doesn’t seem to be working.

        SetUIColor 3 [1,0,0]
        colorMan.repaintUI #repaintAll
4 Replies

i don’t have the max around to check. but… after you set the color with the SetUIColor what the GetUIColor does return?

[b]GetUIColor is reading same color setting I gave it of [1,0,0] but viewport isn’t changing. Guessing I either have w[size=3]rong index_integer or something else isn’t working correctly [size=3]somewhere.

[/size][/b][/size]

try running this after:


colorMan.repaintUI #repaintAll

http://docs.autodesk.com/3DSMAX/15/ENU/MAXScript-Help/files/GUID-0E0372EC-F2D0-4909-8C64-F78DB9D35448.htm

Edit: Nevermind, you already did that. I need coffee :argh:

you need to pick “set by color” in the Customize User Interface dialog under colors::grids. No idea how you set this from mxs