【问题标题】:Add items to layer script Adobe Illustrator将项目添加到图层脚本 Adob​​e Illustrator
【发布时间】:2020-10-05 13:01:43
【问题描述】:

这可能是我在搜索中跳过的内容,但谁能告诉我如何使用 JavaScript Adob​​e Illustrator 脚本将项目添加到图层?

另外,有没有什么好的资源可以学习如何编写脚本?

谢谢。

【问题讨论】:

标签: javascript api adobe adobe-illustrator


【解决方案1】:

我不确定您要添加哪种对象,但是 例如,为文本区域添加以下内容。

var rect = layer.pathItems.rectangle(500, 200, 200, 100);
var txtFrame = layer.textFrames.areaText(rect);

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-07-07
    • 2019-06-30
    • 2013-07-01
    • 1970-01-01
    相关资源
    最近更新 更多