Skip to main content
Known Participant
Aug 15, 2024 4:37 PM UTC
Question

Extendscript for Illustrator; can I access stroke profile or width points?

Trying to write a script to converts brushstrokes to paths with variable width. But I cannot seem to access the variable width properties of a stroke or path points.

 

Is it possible?

 

This topic is closed to new replies. Start a new post to keep the conversation going.

7 replies

m1b
Community Expert
Community Expert
Aug 15, 2024 7:42 PM UTC

Hi @Razamus , sadly the scripting API does not provide access to those details. The only possible avenue is to us Actions I think. Actions can be used from a script, so that might be something you can use but, even so, I doubt it will give the fine control you are looking for. Sorry 😞 

Translate
RazamusAuthor
Known Participant
Aug 15, 2024 8:15 PM UTC

What action would you use? I want to script it, because Illustrator on iPad doesn't have the width tool, and I really want to use the pressure sensor to create paths with variable width.

Translate
m1b
Community Expert
Community Expert
Aug 15, 2024 9:04 PM UTC

I have no idea, I'm afraid. I don't use actions much. @Kurt Gold do you think actions could help here?

Translate