Invert and hide in one script?

Next
 From:  Matadem
12003.1 
Good day.
Is there s script when you high light an item that I can invert and hide in one shortcut?
I use this very often so a single button would speed up things.

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

Previous
Next
 From:  stefano (LIGHTWAVE)
12003.2 In reply to 12003.1 
Hi Matedem,

Does this do what you want?

code:
script:moi.geometryDatabase.invertSelection(); moi.geometryDatabase.hide();


1. Select Object(s) to Invert



2. and then Hide



This inverts the current selection first, then hides the newly selected objects — effectively leaving the original selection visible,

EDITED: 20 May by LIGHTWAVE


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

Previous
Next
 From:  Matadem
12003.3 
works perfect. tnx!
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Booleano
12003.4 In reply to 12003.2 
Hi

And return it to how it was?
  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