Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Illustrator and Javascript - Move pathItem to new layer

I can't seem to find this in documentation, as the pathItem layer and parent members are read-only. How do I programmatically change the layer of an object?

like image 309
ekatz Avatar asked Dec 06 '25 10:12

ekatz


1 Answers

select your pathItem programmatically select your layer programmatically

myPathItem.move(myLayer, ElementPlacement.PLACEATEND);
like image 120
fabianmoronzirfas Avatar answered Dec 08 '25 09:12

fabianmoronzirfas



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!