Temporary Lock of Geometry via Keystroke & Moving Geometry?
All  1-3  4

Previous
 From:  pressure (PEER)
11939.4 In reply to 11939.3 
Hi OSTexo,

Attached is a script called HideMem that I use in place of the native Hide. It keeps a memory of what was hidden last and if it's run again with nothing selected it will un-hide the most recently hidden stuff. The isolate part of it also works a little differently to allow drilling into nested groups.

I like your idea of storing the full history of hide operations so that they can be undone sequentially. This script could be modified to do that, though I don't have time to tackle that at the moment. One problem with this script is that it runs slowly in heavy scenes; especially those with a lot of nested groups.

Install by going to MoI's appdata folder.

On Windows you can find the MoI appdata folder by typing Win+R to bring up the Windows "Run" dialog and then type in:
%AppData%\Moi\

On Mac from a Finder window, go to the menu and pick Go > "Go to folder" and type in:
~/Library/Application Support/Moi/

You should see the folders “commands”, "startup", and "scripts". Put HideMem.htm and HideMem.js in scripts.

To set up shortcut keys go to Options > Shortcut Keys and paste in each of following three lines as a separate key:
code:
HideMem
script:/* view hidden objects */moi.command.setOption('HideMem', 'ctrl'); moi.command.execCommand('HideMem');
script:/* isolate */moi.command.setOption('HideMem', 'rmb'); moi.command.execCommand('HideMem');

To replace the native Hide button with this version put EditTabContent_customizer.js in the startup folder.

- Peer
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-3  4