As in my Topic, I have a question about copying paths:
I tried to copy paths from layer to another in two ways:
import copy layer.paths = copy.copy(anotherlayer.paths)
As I experienced, the first option is safer
(after using the second option I ended up with
strange paths without nodes like in the picture below).
But with first option I didn’t figured out how to copy paths to the layer without deleting ones already existing. With second that’s easy.
Is there easy way to achieve that? (without strange “nodeless paths”?)
thanks for your help in advance
I figured out when option Nr 2 ends with mentioned result (nodeless paths):
this outline reveals in layer, from which I copied paths. It reveals when I’m deleting copied path in second layer.
I guess before I use layer.paths.append(anotherlayer.paths) I should create a new, separate object GSPath() which will be appended to layer.paths.