首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
社区首页 >问答首页 >Illustrator通过applescript放置的项目会生成图层组吗?

Illustrator通过applescript放置的项目会生成图层组吗?
EN

Stack Overflow用户
提问于 2015-10-18 03:40:29
回答 1查看 478关注 0票数 0

Illustrator通过applescript (简单形状)将项目放置在新图层上会导致放置的项目在图层中被多次分组。

我在字典或论坛中找不到任何答案,所以我想知道你们中是否有人以前遇到过这个问题,并找到了一个解决方案,使导入的路径保持在新的Illustrator层的顶层。

非常感谢!

screenshot layers original path file

screenshot after embed via applescript应用程序脚本:

代码语言:javascript
代码运行次数:0
运行
复制
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
EN

回答 1

Stack Overflow用户

发布于 2015-10-19 09:10:56

显然,没有办法通过剪切路径来避免通过“放置的项目”导入的矢量艺术作品的额外分组。

通过让Applescript打开要导入的矢量图片,将有问题的图层内容复制到剪贴板并将其粘贴到其他Illustrator文件中-到选定的图层中,解决了此问题。

就像一种护身符。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/33190812

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档