Copy link to clipboard
Copied
Heya, i came along this site (https://bitbucket.org/joojaa/jooillustratorscripts/src/master/) and would like to know, what must be changed to be able to use it in the 2025 version.
Since the script gives a dialog, but doesn't draw something, nor gives an error.
Any ideas?
Cheers,
Christian
Copy link to clipboard
Copied
Are you talking about the graph function one? Seems to work fine here.
Copy link to clipboard
Copied
yes, that's what i am talking about. for me there is nothing generated. but no error messages either.
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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!