Inkscape.org
Beyond the Basics Extract only specifically labelled objects from a svg
  1. #1
    Saideep Saideep @Saideep

    Dear Inkscape users,

     

    This is my 1st post in this forum - so I a big HELLO to you all!!

     

    I have an (.svg) image that I attach with the post.

    Brief description of the image: I have a number of closed objects that are individually labelled between 1 to 4. I would like to extract all closed objects labelled 1, 2, 3 and 4 independently to create an .eps image.

     

    That is, all objects labelled '1' will be exported to '1.eps' and so on.

     

    I am not sure how to do this with inkscape nor have any clue where to start. Could any experienced user guide me?

     

    Thanks,

    Saideep

    Pavage Fullpaths
  2. #2
    Tyler Durden Tyler Durden @TylerDurden

    I'd probably put each numeric set on a layer and hide the others when saving a copy as EPS.

  3. #3
    Polygon Polygon @Polygon🌶
    *

    In addition to Tyler I had made a color scheme in first place - so you can select same by color for instance. OK - selecting and hiding is not a big deal but N°4 is no object - you have to add doubles of 1+2+3 and boolean subtract from a new square. And unfortunately your circles are made from parts instead of putting them under 1+2.

  4. #4
    inklinea inklinea @inklinea⛰️

    Was this pattern generated by a program in the first place ? 

    If so, would a lot easier to tag things in the production stage. 

    If you don't want to affect the IDs or Classes, could use https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/data-*

Inkscape Inkscape.org Inkscape Forum Beyond the Basics Extract only specifically labelled objects from a svg