Separate objects to layers

Post questions on how to use or achieve an effect in Inkscape.
User avatar
hellocatfood
Posts: 193
Joined: Fri Aug 29, 2008 8:49 pm
Contact:

Separate objects to layers

Postby hellocatfood » Mon Feb 06, 2017 1:58 am

I have a layer in Inkscape that has around 50 objects. I want to separate these objects out into their own layers. Is there an automated way to do this in Inkscape?

I see that Illustrator has the Release to Layers function and I'm hoping there's something similar in Inkscape. I've seen the Group to Layer Extension but, as the name suggests, it only works on groups.
I'm on The Web | Flickr | tumblr

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Separate objects to layers

Postby Moini » Mon Feb 06, 2017 3:51 am

I have never heard of such an extension, but if the Group to Layer Extension works and has a FLOSS licence, it shouldn't be difficult to adapt it.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

User avatar
hellocatfood
Posts: 193
Joined: Fri Aug 29, 2008 8:49 pm
Contact:

Re: Separate objects to layers

Postby hellocatfood » Mon Feb 06, 2017 4:03 am

Moini wrote:I have never heard of such an extension, but if the Group to Layer Extension works and has a FLOSS licence, it shouldn't be difficult to adapt it.

I don't know Python, otherwise I'd write an extension/modify that extension myself.
I'm on The Web | Flickr | tumblr

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Separate objects to layers

Postby tylerdurden » Mon Feb 06, 2017 4:42 am

I'd try this:
Select one object, click group.
tab, click group
tab, click group
tab, click group
tab, click group
tab, click group
tab, click group
tab, click group
tab, click group
tab, click group
tab, click group.....

(Tab moves selection to the next object.)
Then, they're all grouped and ready to layerize with the extension.
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

User avatar
hellocatfood
Posts: 193
Joined: Fri Aug 29, 2008 8:49 pm
Contact:

Re: Separate objects to layers

Postby hellocatfood » Mon Feb 06, 2017 4:46 am

tylerdurden wrote:I'd try this:
Select one object, click group.
tab, click group
tab, click group
tab, click group
tab, click group
tab, click group
tab, click group
tab, click group
tab, click group
tab, click group
tab, click group.....

(Tab moves selection to the next object.)
Then, they're all grouped and ready to layerize with the extension.

Thanks, but I originally asked if there was an automated way to do this. Your method works but if I have a layer with lot of objects it'll take a lot of time.
I'm on The Web | Flickr | tumblr

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Separate objects to layers

Postby tylerdurden » Mon Feb 06, 2017 4:48 am

About 50 sec for 50 objects. I use two hands.
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

User avatar
hellocatfood
Posts: 193
Joined: Fri Aug 29, 2008 8:49 pm
Contact:

Re: Separate objects to layers

Postby hellocatfood » Mon Feb 06, 2017 4:50 am

:roll:
I'm on The Web | Flickr | tumblr

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Separate objects to layers

Postby ~suv » Mon Feb 06, 2017 8:22 am

This (WIP) extension has related tools (wrap selected objects in a group (per object), convert selected groups to layers (or sub-layers), etc.):I haven't worked on it (or used it) for almost a year - feel free to use the repository's issue tracker for questions or bugs (there likely are plenty unresolved bugs, and no documentation at this point). Note also that converting a large number of groups to layers is slow - not the part that the extension does, it's inkscape itself which can be very slow to reload the modified document with many new layers.

User avatar
hellocatfood
Posts: 193
Joined: Fri Aug 29, 2008 8:49 pm
Contact:

Re: Separate objects to layers

Postby hellocatfood » Mon Feb 06, 2017 8:50 am

Thanks, this works perfectly!
I'm on The Web | Flickr | tumblr


Return to “Help with using Inkscape”