Read SVG id-attribute for lines, polygons, etc. as it's already done for path and ellipsis #61707
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#61707
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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 https://git.blender.org/gitweb/gitweb.cgi/blender-addons.git/blob/HEAD:/io_curve_svg/import_svg.py#l1217
Exact steps for others to reproduce the error
Import attached SVG and see the curves' names.
Added subscriber: @mgrl
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.
This issue was referenced by
b1320f3af6
Changed status from 'Open' to: 'Resolved'
@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!