Skip to main content
This topic has been closed for replies.

1 reply

Doug A Roberts
Community Expert
Community Expert
November 28, 2024

Are you talking about the graph function one? Seems to work fine here.

Inspiring
December 2, 2024

huh. just found out, that it seems to have to do with the document size. just tried a 100x100mm doc and there it works. if i try a 950x200mm document it doesn't

jduncan
Community Expert
Community Expert
December 3, 2024

So, if I test both of the document sizes you listed above with the default settings of the script, everything works just fine. I think your issue is with the dialog inputs and the script calculation. For example, if I only change `min` to 5, the script will create a path item...

But as you can see from the path properties in Ai, something wonky is happening...

If you inspect the path item properties in ExtendScript you can see it has 0 path points and this is why nothing is showing in my example.

[PathItem ]
area: 0
controlBounds: 8334,-8334,-24432,24432
geometricBounds: 8334,-8334,-24432,24432
height: -32766
hidden: false
left: 8334
length: 0
pathPoints:
  length = 0
position: 8334,-8334
selected: true
top: -8334
visibleBounds: 8334,-8334,-24432,24432
width: -32766

 Since I don't know your actual inputs, this is all speculation on my part. If you want to share your dialog inputs I can look into it further. Cheers!