• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Creating mesh item

Community Beginner ,
Jul 12, 2022 Jul 12, 2022

Copy link to clipboard

Copied

How to create a Mesh Item in illustrator using script?

TOPICS
Scripting

Views

204

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct answers

Guide , Jul 12, 2022 Jul 12, 2022

You cannot create mesh items from a script.

Votes

Translate

Translate
Community Expert , Jul 12, 2022 Jul 12, 2022

It's in the Javascript Reference, but even if it wasn't there, not everything you can do manually is available in the Scripting API. Other functions are also not available, ie access to Appearance panels among many other functions.

 

"MeshItem
A gradient mesh art item. You cannot create mesh items from a script. However, you can copy an existing
mesh item with the duplicate method, then use the one of the move methods to place the copy at the
proper location."

Votes

Translate

Translate
Adobe
Guide ,
Jul 12, 2022 Jul 12, 2022

Copy link to clipboard

Copied

You cannot create mesh items from a script.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 12, 2022 Jul 12, 2022

Copy link to clipboard

Copied

Why is it not possible to create a mesh item using a script? Any reason for that?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jul 12, 2022 Jul 12, 2022

Copy link to clipboard

Copied

The immediate answer is because the developers never wrote a function to create mesh items.  Why that was the case is anyone's guess. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 12, 2022 Jul 12, 2022

Copy link to clipboard

Copied

LATEST

It's in the Javascript Reference, but even if it wasn't there, not everything you can do manually is available in the Scripting API. Other functions are also not available, ie access to Appearance panels among many other functions.

 

"MeshItem
A gradient mesh art item. You cannot create mesh items from a script. However, you can copy an existing
mesh item with the duplicate method, then use the one of the move methods to place the copy at the
proper location."

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines