Original Tip Date: September 2005
Updated: October 2010
Look what happens when you think outside of the box! Here's a keyin develped by Scott Harmon that is essentially a choose inverse function. What it's doing is first creating a named group of the stuff already selected. this group is called z1.It then creates one for all elements in the model and calls it zAll.It then subtracts z1 from zAll and finally selects the new zAll.These named groups are also deleted at the start and at the end of this keyin so that the Named Groups dialog isn't messed up.
This keyin works in MicroStation pre-V8i
namedg del z1;nam cre z1;dx=0;choose all;namedg del zAll;nam cre zAll;dx=0;choo gro set z1;group drop zall;dx=0;choo gro set zAll;namedg del z1;namedg del zAll
For MicroSation V8i, use this one. (Tested on V8i SS2)
namedgroup delete z1;namedgroup create z1;point ab;choose all;namedgroup delete zAll;namedgroup create zAll;point ab;choose group set z1;group drop zAll; point ab;choose group set zAll;namedgroup delete z1;namedgroup delete zAll;namedgroup delete zAll
The graphic below is from MicroStation V8 2004 Edition.
AskInga Tip #555