• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Question about Script

Participant ,
Nov 28, 2024 Nov 28, 2024

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

TOPICS
Scripting

Views

96

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Nov 28, 2024 Nov 28, 2024

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 01, 2024 Dec 01, 2024

Copy link to clipboard

Copied

yes, that's what i am talking about. for me there is nothing generated. but no error messages either.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 02, 2024 Dec 02, 2024

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Dec 03, 2024 Dec 03, 2024

Copy link to clipboard

Copied

LATEST

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

CleanShot 2024-12-03 at 09.18.06@2x.png

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

CleanShot 2024-12-03 at 09.23.42@2x.png

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!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines