我想通过javascript在Illustrator中更改符号内pathItems的某些属性,但我不知道获得该符号的图形属性,例如fillColor或overprintFill。
var docRef = activeDocument;
for (i = 0; i < docRef.symbolItems.length; i++)
{$.writeln("SymbolItemName:"+ docRef.symbolItems[i].name) //works
$.writeln("SymbolName:"+ docRef.symbolItems[i].symbol.name) //works
$.writeln(docRef.symbolItems[i].height) //works
$.writeln(docRef.symbolItems[i].symbol.pathItems[i].fillColor)} //don't work, symbol don't have the pathItems
有人可以给我提示吗?
问候 奥利弗