Is there a way to get an array containing all layers in a framer project that come from a Sketch artboard (as opposed to ordinary Sketch layer)?
What I do now is adopt a naming convention for my artboards (i.e., somethin like "name ends with '_artboard'", so that I can collect all of them using the find module ... but it would be nice not to have to do this.
Do a search in the group. I've seen this answered before. I know there is an object somewhere that has this info. I *think* it's a property on the Framer.____ object.
Thanks, Jordan, could not find anything though (suboptimal search skills, I suppose :-)). What I do know is that the json file associated with a Sketch import records whether I am dealing with an artboard. But not sure how I would make that information useable.
What would also be good enough for my purposes would be just to have access to an array listing all the layers that are on the "base level" of my layer tree (i.e., no parent). But, to be honest, I wouldn't even know how to get those...