Community
3ds Max Forum
Welcome to Autodesk’s 3ds Max Forums. Share your knowledge, ask questions, and explore popular 3ds Max topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to assign hotkey to "hide by category" things? Perhaps custom script? (picture)

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
oyvind3BPMJ
285 Views, 2 Replies

How to assign hotkey to "hide by category" things? Perhaps custom script? (picture)

I can't find these toggles in the hotkey editor of max 2019. Any help appreciated.

 

Would like to assign hotkeys. Perhaps someone knows of a script that allows the binding of things which does not show up in "script listener" and does note exist as a bindable command for hotkeys.

 

EpicPen_zmdvfmMF3V.png

2 REPLIES 2
Message 2 of 3
10DSpace
in reply to: oyvind3BPMJ

@oyvind3BPMJ 

 

Maxscript supports hide by category.    For example: 

 

hideByCategory.bones = true

 

will hide all bones.  Similarly,  the other types (geometry, shapes, lights, cameras, helpers, spacewarps, particles) are supported with the same syntax.  Obviously, to unhide change to  hideByCategory.bones = false.  

 

So a macro that you could hotkey that implements this as a toggle might look like this:

 

--HideBones.mcr  -- Toggle switch for hiding bones by category

MacroScript HideBones
(
hideByCategory.bones = not hideByCategory.bones
)
Message 3 of 3
oyvind3BPMJ
in reply to: 10DSpace

Thanks! 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report