Inkscape.org
Creating New Extensions Project (SVG) name as string in python extension
  1. #1
    Gwyn Gwyn @izoprene

    Hi, I'm modifying the ExportXY extension (which outputs a path as a series of points), and I need to include the name of the project along with the points text output.

    Does anyone know how I would access the name of the current project name (filename) in the python extension as a string. I can't find a reference to it anywhere in the Inkscape extensions API.

    Thanks!

  2. #2
    Martin Owens Martin Owens @doctormo🌹⚖🧀

    It might be, but might not be available in the svg object under the sodipodi and inkscape attributes which are often (but not always!) saved there.

Inkscape Inkscape.org Inkscape Forum Creating New Extensions Project (SVG) name as string in python extension