Illustrator和Javascript - 将pathItem移动到新图层

eka*_*atz 3 adobe extendscript adobe-illustrator

我似乎无法在文档中找到它,因为pathItem layerparent成员是只读的.如何以编程方式更改对象的图层?

fab*_*fas 5

选择您的pathItem以编程方式选择您的图层

myPathItem.move(myLayer, ElementPlacement.PLACEATEND);
Run Code Online (Sandbox Code Playgroud)