On 11:54 AM 7/06/2001 -0500, David Cary said:
> >I wish there were an option to "toggle all selections". (Similar to
> ``Select |
> >All'', except if something were *already* selected, it would make it not
> >selected).
> >
> >Since this is a standalone command it could be done as a simple enough
> >add-on server... done.
> >
> >Get it at:
> > http://groups.yahoo.com/group/protel-users/files/ToggleSelectionAll.zip
> >Usual warnings - use at your own risk, don't blame me, take care, test on
> >non-critical file first.....
> >
> >Ian Wilson
>
>Wow, that was quick.
>
>I've installed it and did a quick test. Your server seems to work great
>for me.
>
>I have several component classes, and I intended for each component to be
>in one
>and only one component class. This tool allows me to select /en mass/ every
>component that is *not* in *any* component class, making it easy to find those
>components and place them in the appropriate class.
>
>I was about to ask for a way to only toggle the selection of components
>(leaving
>traces, free pads, etc. unselected), but I see I can get the same effect with
>``ToggleSelectionAll'' followed by ``Deselect | Free Objects''. Then I get
>exactly what I was looking for.
Done - I have added an optional parameter ComponentsOnly=true which will
restrict toggling to components only.
Maybe at some stage I will extend it to allow for more general control over
what entities have their selection state toggled. Even better - if someone
out there is interested in picking up this fairly simple server and using
it as a method of getting to know more about Protel Server development and
adding a help file etc etc then they are welcome to contact me. They will
need Borland Delphi 5 (yuk!).
>Bug report:
>It doesn't make any difference for what I'm trying to do, but I can't help but
>notice that this process ignores Arcs.
Whoops. Fixed.
Version 2 is available at:
http://groups.yahoo.com/group/protel-users/files/ToggleSelectionAllV2.zip
bye for now,
Ian
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* To post a message: mailto:[EMAIL PROTECTED]
*
* To leave this list visit:
* http://www.techservinc.com/protelusers/subscrib.html
* - or email -
* mailto:[EMAIL PROTECTED]?body=leave%20proteledaforum
*
* Contact the list manager:
* mailto:[EMAIL PROTECTED]
*
* Browse or Search previous postings:
* http://www.mail-archive.com/[email protected]
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * *