![](https://secure.gravatar.com/avatar/fc44d592077ea458da260ffcfb9c6a25.jpg?s=120&d=mm&r=g)
For people interested in trying out the API here is a list of functions that are currently broken:
get_node_coordinates (need to parse path for x,y coordinates of nodes.) selection_box (recently added, need to pull apart selection tool.) move_to_layer (can cut, but doesn't paste in the new layer, may need to expose cut_impl.) layer_get_all (might need to parse the XML tree to find this.)
Functions that don't behave ideally:
text (is not selectable/editable after creation, does not create a node.) transform (just sets, should merge.)
If any other functions crash Inkscape or do not return let me know, because it may be an issue I am not aware of.
Note: Error reporting has not been implemented. If there is an error caught by the API code it simply returns false (for now.) This will cause an error that looks like this in the script that called the offending function: dbus.exceptions.DBusException: org.freedesktop.DBus.GLib.ErrorError: Method invoked for <function-name> returned FALSE but did not set error
Eventually functions will return nice GErrors.
-Soren