Retrieve SVG attributes

bitterstoat's Avatar

bitterstoat

29 May, 2015 05:09 PM

Is there a way to get attributes from imported SVG, such as the 'id' in this snippet from the source code from an SVG map? I've tried poking around with the Lookup node but haven't found something like that.

<g id="hi">
<title>Hawaii</title>
<path class="state hi" [vector data...] id="HI" />
</g>

  1. Support Staff 1 Posted by Frederik De Ble... on 05 Jun, 2015 01:06 PM

    Frederik De Bleser's Avatar

    Unfortunately, no. Custom attributes are not retained in the imported Path objects.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

24 Jan, 2025 07:50 AM
22 Jan, 2025 11:42 PM
21 Jan, 2025 09:43 AM
21 Jan, 2025 09:41 AM
21 Jan, 2025 09:36 AM

 

21 Jan, 2025 02:00 AM
16 Jan, 2025 08:30 PM
15 Jan, 2025 06:37 AM
04 Jan, 2025 04:09 AM
03 Jan, 2025 05:32 PM
29 Dec, 2024 12:06 PM