Scripting Adobe Illustrator. How to apply an effect?
问题 My script should select some items and apply Effect->3D->Extrude&bevel to them. Which objects and methods should be used? I use JavaScript in AI CS6. Thanks. -- Update: I need to set the values for effect parameters (angles, depth etc.) in script. -- Update 2: Probably it's possible to patch an AI file with needed values for the GraphicStyle, and then open it and apply the style where needed. But I'd like to know if there is less dirty solution. 回答1: Using documents[0].selection[0].reflect