ScriptSpot

Forum topic · General Scripting

Kill Selection Brackets

By br0t · 2012-04-17

Description

Hey there.

The selection brackets (toggled by pressing "J") are annyoing to me, most of the time. Toggling them wont turn them off completely, which I would like to do. Is there any way to find out via MXS if the brackets are on/off?

Cheers

Comments (3)

Killing Brackets in MAX 2012 (in MAX 2013 it's OOF by default)

nirsul · 2012-04-19

Drag this code onto a toolbar:

disp = NitrousGraphicsManager.GetActiveViewportSetting()
disp.ShowSelectionBracketsEnabled = false

br0t · 2012-04-22

Thanks nirsul thats exactly what i was searching for! for some reason i have to go to wire and back to update the viewport, so this way it would be a simple toggle:


disp = NitrousGraphicsManager.GetActiveViewportSetting()
disp.ShowSelectionBracketsEnabled = not disp.ShowSelectionBracketsEnabled
max wire smooth
max wire smooth

JokerMartini · 2012-04-19

Is love to know how to do this as well as making the viewport lighting sticky. I change of to default and it will change back to scene lights automatically on viewport maximize toggle.

Ughh.....max