I was reading over the Scripting HOWTO for Inkscape in an attempt to
discover how selected nodes are identified and/or passed to extension
scripts by Inkscape. (I was thinking that I might be able to identify
and fix a possible bug in the inkex.py file, or maybe see if I could
get a Beanshell script to work.)
However, after reading over the documentation and the man page for
Inkscape, I can't figure out how selected nodes are passed to the
scripts. I have examined selected objects in Inkscape's XML editor,
and selection information does not appear to be stored in the actual
SVG information. So I'm guessing the selected nodes are passed as a
Is this true? If so, what is the name of the parameter and how are the
selected nodes represented?
If it is not true, are the selected nodes identified in the temporary
SVG script some how?
I hope I'm not being a pest with my questions.
Thank you for the help.
On Mon, 2007-10-15 at 22:15 -0700, Redefined Horizons wrote:
> Is this true? If so, what is the name of the parameter and how are the
> selected nodes represented?
By ID with '--id=3D<SVG ID>'. You might try creating a script that just
prints out the command line args and prints them to STDERR so they'd
show up in Inkscape. That might be helpful for debugging.
Get latest updates about Open Source Projects, Conferences and News.