The new NodeBox forum is live! Everything from support.nodebox.net moved here: sign in with the same email to pick up your old posts. Something not working? Write to forum-support@nodebox.net.

NodeBox 3From the old forum

Retrieve SVG attributes

1 reply Last reply

  1. 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>

    Copy link
  2. NodeBox team

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

    Copy link

Know something that helps?

Sign in with your email address to reply. No password needed.

Sign in to reply