Reply To: Duplicate and rename layers

#99064
Mike Dean
Member

I’m not sure at a glance why the previousItem method isn’t working, but if you assign the duplicate layer to a variable:

var newLayer = docList[d].layers.item (layerList[check]).duplicate();

You can then refer to it later:

newLayer.name = "Unpriced";

This article was last modified on October 18, 2017

Comments (0)

Loading comments...