Jump to content
You must now use your email address to sign in [click for more info] ×

Exporting an <svg> with a unique id


Recommended Posts

Hello,

I am new to designer and very excited to discover the program. Here is a question already:

 

I try to export an svg made with a few simple shapes in order to be used in html. (I am actually following a tutorial made by someone who uses Illustrator)

I would like to end up with an svg file that has a single id, not each shape it's id. I cannot seem to find the right keyword to achieve this. "Group", "compound", "group to layer" aren't the right thing here.

 

Thank you in advance for any advice,

gergely

Link to comment
Share on other sites

  • Staff

Hi gergely,

Welcome to Affinity Forums

You have to create a single shape from the separate shapes through destructive boolean operations (add, subtract etc). Then give it a name in the Layers panel (rename the layer to whatever you want). The layer's name will be used as the ID for the shape.

 

To perform destructive boolean operations just select the objects you want to add, subtract etc to form the shape you need and click on the respective icon in the main toolbar (see screenshot below).

 

post-59-0-69939200-1476186120_thumb.png

 

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.