Undo Last Hide |
v.1.0 - Last
Updated: 2007/12/02 13:00 pm CT |
The script
was developed in 3ds Max 2008 but should be compatible with earlier releases
of 3ds Max incl. 9,8,7 and 6. |
|
Installation: |
-
Download the zip file
- Unzip in a temp.folder
- Copy the .MS file into your \PLUGINS
folder.
- Copy the .BMP files into your \USERICONS
folder.
- Start 3ds Max
- Main Menu > Customize > Customize User
Interface > Toolbars > UndoHide category.
- Drag the 3 MacroScripts to a toolbar.
Optionally, you can assign them to keyboard shortcuts or place on
QuadMenus or Menus.
|
|
How does it work: |
- The tool registers two callbacks - one
monitors the hiding, one the unhiding of objects.
- Every group of objects that is hidden
or unhiden is added to a stack.
- The first icon lets you unhide objects
that have been previously hidden.
- The second icon lets you hide again
objects that have been unhidden.
- The third icon resets both stacks,
removing any undo records.
- These stacks are completely
independent from the Max Undo Stack. Any hide/unhide operations on the
Max Undo Stack will remain.
- The two stacks are PERSISTENT and will
be saved with the Max scene. If you open the same scene a week later,
the stacks will be restored and you can undo your hides/unhides as if
you never closed the session.
|
|
Example Usage: |
- Create a Box, a Sphere, a Cone and a
Teapot.
- Both buttons should be grayed out
because both undo stacks are empty.
- Select the Box, right-click to open
the QuadMenu>Hide Selected. The UndoLastHide icon will become active.
- Select the Cone and hide it,too.
- Now press the UndoLastHide icon - the
Cone will be unhidden and selected.
- Press the UndoLastUnhide icon and the
Cone will be hidden again.
- Press UndoLastHide icon twice and both
the Cone and the Box will be back unhidden and the Box will be selected.
- Press UndoLastUnhide icon twice and
they will be hidden again.
- Select both the Sphere and the Teapot
and hide them.
- Press UndoLastHide and BOTH the Sphere
and the Teapot will be unhidden and selected.
|
|
Copyright 2007 by Borislav "Bobo" Petrov |