Skip to main content
Known Participant
July 12, 2022
Answered

Creating mesh item

  • July 12, 2022
  • 1 reply
  • 551 views

How to create a Mesh Item in illustrator using script?

This topic has been closed for replies.
Correct answer CarlosCanto

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."

1 reply

femkeblanco
Legend
July 12, 2022

You cannot create mesh items from a script.

SA8888Author
Known Participant
July 12, 2022

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

femkeblanco
Legend
July 12, 2022

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