Page MenuHome

Read SVG id-attribute for lines, polygons, etc. as it's already done for path and ellipsis
Closed, ResolvedPublic


System Information
Operating system: Win10/Ubuntu 18
Graphics card: Internal

Blender Version
Broken: 2.79b release

Short description of error
I'd like to import an SVG and do some scripting on the imported objects. To distinguish the imported objects I'd like to use the ID-attribute I have given to the objects in the SVG by naming them in inkscape/corel draw.
Unfortunately this works only for paths and ellipses. Lines, Rectangles and polylines receive a generic name instead the given ID. Would it be possible to read the ID as it's done here for the path-object already for other object types, too? See

Exact steps for others to reproduce the error
Import attached SVG and see the curves' names.

Event Timeline

Whoaa whaat? I just sent this message off and an implementation is already on the way?! I love it! thank you very much, I appreciate.

@Michael G. (mgrl), yep, this should work in tomorrows build. If it does not, please create a new bug report and add me as a subscriber.

perfect, thank you!