gimpfu.register('file-svg-save', 'save an SVG (.svg) file',
    'save an SVG (.svg) file', 'Dylan Grafmyre', 'Dylan Grafmyre', '2016',
    'SVG', '*', [(gimpfu.PF_IMAGE, 'image', 'Input image', None), (gimpfu.
    PF_DRAWABLE, 'drawable', 'Input drawable', None), (gimpfu.PF_STRING,
    'filename', 'The name of the file', None), (gimpfu.PF_STRING,
    'raw-filename', 'The name of the file', None)], [], save_svg, on_query=
    register_save_handlers, menu='<Save>')
gimpfu.main()
Export all SVG paths with Gimp Python plugin