Invert and hide in one script?

 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