How to copy layer structure by number sequence?
Hi,
I have a layer structure. I want to copy it according to a number sequence, that is, copy 1, 2, 3, 4, 5, 6, 7, 8... 100 layers. Their structures are the same, but the main layer should be named according to the number sequence. 1, 2, 3, 4... Etc. the names of all other sub layers cannot be changed. I wonder if there is a script to implement it?
There is a "copy" command in the layer menu, which can copy the entire layer structure. However, the copied layer name will automatically add the word "copy", and the main layer name cannot be automatically named according to the number sequence. It needs to be modified one by one, including the names of all sub layers. This is a time-consuming work, so try to see if there is a script that can achieve this purpose. Thank you.
layer structure to copy:

Effect to be achieved:

