Re: General Purpose Python Scripting for Inkscape.

Andrew Kurn <[email protected]> Thu, 28 Mar 2019 19:34:45 -0700
Newsgroups gmane.comp.graphics.inkscape.user
Message-ID <20190329023445.GA23567@joplin>
On Thu 28 Mar 2019 18:29 -0400, Steve Litt wrote:
> On Tue, 26 Mar 2019 15:42:52 -0400
> [email protected] wrote:
> 
> > On Tue, 2019-03-26 at 13:38 -0500, Frank Martínez wrote:
> > > If I am wrong about this, please show me the light ;)  
> > 
> > Is it something we should add?
> > 
> > <g inkscape:selectme="true">...</g>
> > 
> > And Inkscape selects such things after running extensions (and cleans
> > up the attribute). It could be added I think very easily.
> 
> Another cool thing about that is that selections survives stops and
> restarts in normal Inkscape usage.
>  
> SteveT

Steve,

Either you misunderstand or I do.

What I think Martin means is that, at the end of running each
extension, it finds all /selectme/ attributes and makes the
selection from them.  We agree there.

But, when he says "cleans up", I take it to mean "immediately
removes the attribute(s) from the SVG."  Thus there is nothing
left around to keep in a saved SVG file.

This seems like a required part of the extension-selection
process.

Andrew