title: Export all SVG paths with Gimp Python plugin
body: <p>I want to write a Gimp-Python plugin in order to export all SVG paths from the current image. This seems quite simple but I am stuck with pdb calls, I may not be calling procedures correctly so I need your help.</p>
  
  <p>Here is my code :</p>
  
  <pre><code>#!/usr/bin/env python
  
  from gimpfu import *
  
  def exportToSvg(img, layer) :
      gimp.pdb.vectors_export_to_file(img,"C:/Users/Public/Documents/output.svg",0)
  
  register(
      "ExportToSvg",    
      "Export all SVG paths",   
      "Export all SVG paths from current image",
      "My Name", 
      "My company", 
      "2015",
      "&lt;Image&gt;/MyScripts/Export to svg", 
      "*", 
      [], 
      [],
      exportToSvg)
  
  main()
  </code></pre>
  
  <p>After opening Gimp and loading an image, when I click on my plugin i receive this error:</p>
  
  <p><strong>Error when calling « gimp-procedural-db-proc-info » :
  Procedure« vectors-export-to-file » not found</strong></p>
  
  <p>When I search in Gimp PDB, I can find"gimp-vectors-export-to-file" so what is the problem ?
  How should I call this procedure ?</p>