open/close all/selected groups
This macro-script is meant to use as a shortcut. It can open or close all or all selected groups in the scene.
I use "STRG + SHIFT + G" to open all groups and "STRG + G" to close all groups but you can change it to whatever you prefer.
Usage:
1) Run the .mcr file
2) Go to "Customize" -> "Customize User Interface" -> "Keyboard" -> "Category" -> "Custom"
3) define your desired shortcuts
You can also make some button if you like.
The credits belong to "Swordslayer" as i used his code for this macro: http://www.scriptspot.com/forums/3ds-max/general-scripting/open-all-groups-and-sub-groups
When i saw the thread i realised that this macro could be very helpful. At least for my daily work. So i always have all groups closed and just open all groups for editing an object. As soon i am done i close all groups again. A good timesaver.
Update version 0.2:
- added two actions "open visible groups" + "close visible groups"
- added messagebox with info with category name of actions
Attachment | Size |
---|---|
openclose-groups_v02.zip | 675 bytes |
Comments
thx
Hi le1setreter,
thx for having considered the comments and do the update so fast!
Good work!
nicely done :)
nicely done :)
My pleasure :)
My pleasure :)
bga
Hehe :) Thank you barigazy :)
Hehe :)
Thank you barigazy :)
/ Raymond
;) or even shorter tassel
bga
Hi le1setreter, You snippets
Hi le1setreter,
You snippets are great :)
Here is my approach to do Open and close groups (based on your first code):
/ Raymond
many thanks for your feedback
many thanks for your feedback :)
i just uploaded the new version (v 0.2)
Thx sir! It's definitely a
Thx sir!
It's definitely a question of workflow, but I think that if it's made so that whats hidden isn't affected is just more clean and powerful and thus can adapt to any workflow.
More logical also no? But yeah why code something you don't use, I understand. :)
But it's just that small little detail thats missing making this script complete I think. :)
Anyway! Thx for considering updating it man, appreciate and thx for your work!
hi fajar, thank you for your
hi fajar,
thank you for your feedback but honestly i do not really understand your question. do you mind try to explain it again?
TIA
"Right now, it opens the
"Right now, it opens the groups of objects that are on hidden layer."
i think it is a question of personal workflow if
a) all groups
b) selected groups
c) all but not hidden groups
should be implemented.
For me i only use open and close ALL groups. As soon i am done editing my desired object i just close all groups.
But i will extend the version with the requested feature open/close all and selected but not hidden groups.
Will post updated version as soon as possible.