New value for property position
Hello, hello ![]()
I have a problem with property position about pathItem in Illustrator, in Javascript I can write : object.position[0] = newValue and position from object change.
But no with illustrator objects, I can't use pathItem.position[0] = newValue because position from pathItem don't change.
I try a test, I share with you code :
---------
var x = app.activeDocument.activeLayer.pathItems["coucou"]
$.writeln("First value : " + x.position) //Result : First value : 17,-11
x.position[0] = 10
x.position[1] = 20
$.writeln("New value : " + x.position) //Result: New value : 17,-11
---------
Thank you, thank you for your help and sorry for my bad english ![]()