Hey everyone, need a little help here. I have a quite large amount of layers, some of them are nested in sublayers or even in several levels of sublayers, some of them are imported from Photoshop. For imported layers I used this to be able to address them directly:
contentLayers = Framer.Importer.load "imported/content"
for layerGroupName of contentLayers
window[layerGroupName] = contentLayers[layerGroupName]
Here is the tricky part: I need to put ALL the layers into one superLayer to transform the whole app. Can't figure out an easy way to accomplish this because:
1. I need to address a list of first-level layers only (to save the existing sublayer structure);
2. If that's not possible, I can do it manually, but I have no idea how to change the loop that I use for imported layers (above) to nest them all inside my new superLayer too.