Illustrator通过applescript(简单形状)将项目放置在新图层上 结果放置在图层中多次分组。
我无法在字典或论坛中找到任何答案,所以我想知道你们之前是否有人遇到过这个问题,并找到了一个解决方案,以便在新的Illustrator图层上保持导入的路径顶级。
非常感谢!
screenshot layers original path file
screenshot after embed via applescript AppleScript的:
tell myDoc
set layer_cmyk to current layer
set name of current layer to "cmyk"
set myLayer to make new layer with properties {name:"diecut"}
set placed_file to make new placed item ¬
with properties {file path:("the_shape_to_embed.ai")}
embed placed_file without dialogs
答案 0 :(得分:0)
显然,没有办法通过"放置项目"导入的矢量图稿的剪切路径来避免额外的分组。
解决了这个问题,让Applescript打开导入的矢量图,将相关的图层内容复制到剪贴板并将其粘贴到另一个Illustrator文件中 - 放入选定的图层。
像魅力一样。