Quantcast
Channel: Adobe Community : Discussion List - Illustrator Scripting
Viewing all articles
Browse latest Browse all 3671

How to Clean up Stray points in JS?

$
0
0

Although there is a function in Illustrator to select stray points and delete or clean up stray points in paths, I want to find a way to make it in JavaScript.

It seems that no specific details mentioned in JavaScript Reference of Illustrator, I think it is related to "pathPoints.length == 1" and "textFrame".contents==0, or something esle. But I am not so sure.

Could anyone give me a script to clean up all stray points in a document?

 

p.s. what's the differences between "select stray points =>delete" and "path =>clean up stray points" in illustrator, I heard that one could delete brushes or something...

 

 

Thank you in advance,


Viewing all articles
Browse latest Browse all 3671

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>