Converting snapshots to layers
My query is specifically about how to do what is stated in the subject. I've wracked my brain trying to figure a way to do this in an efficient way. The closest I've been able to figure is to step through layers and copy them into a new doc and then copy them back but this requires knowing how many snapshots there are in the original doc. What I'm looking for is to take all of the history snapshot states (regardless of the amount of snapshots) and convert them into individual layers in the original document.
Is it possible to script a solution that looks in history for anything named "snapshot" and somehow outputs the history states as multiple layers into the source document? If so, how would you go about doing this?
Thank you to anyone that can help with this. I know little to nothing about scripting...
