Hello everyone!
I got an artwork in Adobe Illustrator, already broken up in the individual Layers ready to animate. But when I import the File into Moho it all gets put together on one layer, and i have to break it up manually again.
I found out about the "Break Shapes"-Skript, but for the times i want multiple objects on the same layer i still have to correct it manually.
Is there a way to keep the Layers from AI, when i import an AI or SVG File?
Thanks for your help!!
Keep Layers when Importing AI/SVG-File?
Moderators: Víctor Paredes, Belgarath, slowtiger
Keep Layers when Importing AI/SVG-File?
Showreel 2018 https://vimeo.com/254290989 - Moho 12.5.1, macOS 10.10, Adobe CS6
- synthsin75
- Posts: 10051
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Keep Layers when Importing AI/SVG-File?
I believe there are AI scripts or extensions that allow you to export each layer as a separate AI file.
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Re: Keep Layers when Importing AI/SVG-File?
Here's one:
https://github.com/davidderaedt/Illustr ... r-Exporter
It can export SVG, which may work better for Moho. It works will all layers or selected layers.
I haven't personally used this script but, coincidentally, I need something like this myself right now.
I'm assuming if the layers are broken down into 'groups' at the root level, you can get a separate SVG for each 'group'. Kinda like what happens when you import a layered .ai file to After Effects: each 'group' gets individually collapsed as separate layers. I have yet to test this script though, so I really am just guessing at the moment.
https://github.com/davidderaedt/Illustr ... r-Exporter
It can export SVG, which may work better for Moho. It works will all layers or selected layers.
I haven't personally used this script but, coincidentally, I need something like this myself right now.
I'm assuming if the layers are broken down into 'groups' at the root level, you can get a separate SVG for each 'group'. Kinda like what happens when you import a layered .ai file to After Effects: each 'group' gets individually collapsed as separate layers. I have yet to test this script though, so I really am just guessing at the moment.
Last edited by Greenlaw on Thu Feb 07, 2019 6:21 pm, edited 2 times in total.
D.R. Greenlaw
Artist/Partner - Little Green Dog | Little Green Dog Channel on Vimeo | Greenlaw's Demo Reel 2020 Edtion
Artist/Partner - Little Green Dog | Little Green Dog Channel on Vimeo | Greenlaw's Demo Reel 2020 Edtion
Re: Keep Layers when Importing AI/SVG-File?
Thanks a lot! Is there an exporter that works with AI CS6 ? The Link unfortunately only works with CC
Thanks!
Thanks!
Showreel 2018 https://vimeo.com/254290989 - Moho 12.5.1, macOS 10.10, Adobe CS6
Re: Keep Layers when Importing AI/SVG-File?
There`s also a way to trick AI to export .ai ver8 files - use artboards as layers and then use Save As... / Use Artboards... etc. routine to get individual files.
Eventual overlapping could still occur but that could be easily avoided by some additional planning - still, as animators we are not estranged from planning ahead ,) and I believe it is a timesaver.
Eventual overlapping could still occur but that could be easily avoided by some additional planning - still, as animators we are not estranged from planning ahead ,) and I believe it is a timesaver.
Re: Keep Layers when Importing AI/SVG-File?
Thanks that sounds really promising! Can you explain more how this works? Does that work on CS6? How can i convert my Layers into Artboards? Thanks!Maestral wrote:use artboards as layers and then use Save As... / Use Artboards... etc. routine to get individual files.
Showreel 2018 https://vimeo.com/254290989 - Moho 12.5.1, macOS 10.10, Adobe CS6
Re: Keep Layers when Importing AI/SVG-File?
Artboards tool works similar to crop tool and it is available in CS6.
Say you have a background, chair and a character in the scene. You may...
- use the existing one (each file by default has one) for a background, create 2 new artboards next to the existing one and place those other 2 elements on respective artboards. Save As / Use Artboards...
or...
- ... create 2 new artboards as if you`re "cropping" chair and a character. This is where overlapping happens but with some more planning ahead it`s easy to avoid it.
It`s worth mentioning Assets export which is available in CC editions. Assets have a separate panel which makes things easier and export options are similar to mentioned scripts (png, svg...). Select the desired elements and chose the export options which would be applied to each element separately.
Say you have a background, chair and a character in the scene. You may...
- use the existing one (each file by default has one) for a background, create 2 new artboards next to the existing one and place those other 2 elements on respective artboards. Save As / Use Artboards...
or...
- ... create 2 new artboards as if you`re "cropping" chair and a character. This is where overlapping happens but with some more planning ahead it`s easy to avoid it.
It`s worth mentioning Assets export which is available in CC editions. Assets have a separate panel which makes things easier and export options are similar to mentioned scripts (png, svg...). Select the desired elements and chose the export options which would be applied to each element separately.
Re: Keep Layers when Importing AI/SVG-File?
Thanks a lot, thats a cool feature, i didn't know about that yet
I found an Exporter-Script that allows to export layers as (SVG)-Files that works with CS6, here is the link if someone else finds this useful:
https://gist.github.com/TomByrne/7816376
Thanks a lot for all your support!
I found an Exporter-Script that allows to export layers as (SVG)-Files that works with CS6, here is the link if someone else finds this useful:
https://gist.github.com/TomByrne/7816376
Thanks a lot for all your support!
Showreel 2018 https://vimeo.com/254290989 - Moho 12.5.1, macOS 10.10, Adobe CS6