I’m trying to write a script that copies paths from one layer (Master) to another one but I can’t figure out how to paste the content of the original layer to the destination.
For now, I’m accessing the layer I want to get the path from and using copyDecomposedLayer but after that, I’ve tried to append this object to the layer I want to paste the paths and it looks like it’s not possible. Any hint on what should I do?
Thanks, guys! I didn’t know about this extend method for all paths in a layer. Iterating through all paths in layer1 and adding them to layer2 was my initial idea but I was missing this part.