Notifications
Clear all

[Closed] How to hide selection brackets?

 S-S

I have tried to find this in manual, but no luck. Is it actually possible to hide selection brackets with max script? I’m trying to set all viewport rendering settings automaticly for optimal previews, and this is the only one bugging me…

I’m in max 8.

I can toggle selection brackets on / off from Viewport Configuration \ Rendering Method page or with “J” key shortcut, but max script listener only gives actionMan.execute code, which is just a toggle. I would like to make brackets to be off or on, not toggle them.

  • Thanks in advance!
3 Replies

you can simply allow the listener to record the action and you would get this

actionMan.executeAction 0 "370"  -- Tools: Show Selection Bracket Toggle
if you want what i use .... here it is 

macroScript Edged_Faces
category:” cyfer “
tooltip:“edged faces”
(
actionMan.executeAction 0 “369” – Views: View Edged Faces Toggle
actionMan.executeAction 0 “370” – Tools: Show Selection Bracket Toggle

)

edit : the forum keeps posting ” as quote and stuff !

Never mind, I miss read the post. I thought you were looking for the keyboard shortcut, which is ‘j’

 S-S

cyfer, slebed:

Thanks guys – maybe it’s not possible to switch selection brackets off instead of toggling them on or off?
Hmm. Anyway my problem is that i really need to make them go way for sure, as i don’t want to see them, when i’m making preview renders (not using make preview). It’s not a big problem, but anyway, it would be one thing less to check before rendering a preview.