ScriptSpot

Forum topic · General Scripting

Hiding viewport selection bracket

By remykonings · 2019-04-17

Description

The following command works as a toggle to hide or show selection brackets. Is there way to set it to false only? The toggle doesn't work for me in my larger script.

actionMan.executeAction 0 "370" -- Tools: Viewport Selection Show Selection Bracket Toggle

I coudn't find any post unfortunitly that already solved this issue. Hopefully you guys know a way.

Thank you.

Comments (2)

StormBrig · 2019-04-21

Once turned Off this setting should stay off - right?

.

jahman · 2019-04-17

try this one
but you'll need to replace not disp.ShowSelectionBracketsEnabled with False