Re: General Purpose Python Scripting for Inkscape.

Frank Martínez <[email protected]> Tue, 26 Mar 2019 13:38:58 -0500
Newsgroups gmane.comp.graphics.inkscape.user
Message-ID <CAHRtogyY6m1GZhcDZzFTn1UfJxe6xBeT3Rz9+fQJ8vxah+OinA@mail.gmail.com>
Hi Andrew,

I am afraid it is not possible to select objects inside inkscape from
external python extensions without using dbus or something like that. My
scripting extension knows nothing about inkscape itself, only have access
to the svg document. It is possible to add some metadata with ids of
selected objects to be used later for other extensions, but Inkscape will
ignore them.

If I am wrong about this, please show me the light ;)

Cheers,
Frank.



On Mon, Mar 25, 2019 at 9:46 PM Andrew Kurn <[email protected]> wrote:

> On Fri 22 Mar 2019 20:42 -0500, Frank Mart?nez wrote:
> >
> > Hi Guys,
> >
> > Inkscape is amazing!, I am a professional software developer, I have been
> > working in an embedded scripting plugin for Inkscape, . . .
>
>
> One question:  Have you found a way of selecting an object
> after your script runs?
>
> This point bothered me several times and I hope you found a
> solution.
>
> Andrew
>
>
>
> _______________________________________________
> Inkscape-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/inkscape-user
>


-- 
Frank D. Martínez M.

_______________________________________________
Inkscape-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/inkscape-user