I want to make a context function that can add objects to the group,
like net segments, by tracking a wire. This will be handy to use for
changing layers of full segments between via's.
The logic flaw of using ingroup() with context selection gets into
conflict with this specific function here, as the existing grouped items
are lost.
Can you please separate ingroup() from the context selection and make
that incontext() or similar function name for context selected objects,
as suggested in the "Issue in 7.6.2 beta" thread under eagle.betatest?
Of course it should return false on all objects when executed under
normal shell.
I know this will make some problems for existing ULP's but since the
context menu has been full of bugs for some time, I think this will be
the least painful way to go. If you really need to keep that old
compatibility, I guess there are ways, like checking if #require is
above one version number, or maybe even something smarter.