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

Unable to create new illustration, command cancelled

Community Beginner ,
Nov 17, 2022 Nov 17, 2022

4f4ad677451d0f7914f980b345b0f5c.png

When I call ai with jacob, I sometimes report this error. The Chinese meaning of the above popover is:

Unable to create new illustration, command cancelled.

I want to know under what circumstances will this popover appear,and how to avoid the popover,for help.

 

 

TOPICS
Draw and design , Scripting , Third party plugins
872
Translate
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 18, 2022 Nov 18, 2022

are you using a script? can you post your code?

Translate
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
Community Beginner ,
Nov 21, 2022 Nov 21, 2022
LATEST

This is my code:

 

ActiveXComponent  app = new ActiveXComponent("Illustrator.Application");
Dispatch docs = Dispatch.get(app, "Documents").toDispatch();
Dispatch doc = Dispatch.call(docs, "Add").toDispatch();

 And this is error info:

 

com.jacob.com.ComFailException: Invoke of: Add
Source: Adobe Illustrator
Description: an Illustrator error occurred: 129 ('')

at com.jacob.com.Dispatch.invokev(Native Method) ~[Jacob-1.20.jar!/:na]
at com.jacob.com.Dispatch.invokev(Dispatch.java:625) ~[Jacob-1.20.jar!/:na]
at com.jacob.com.Dispatch.callN(Dispatch.java:453) ~[Jacob-1.20.jar!/:na]
at com.jacob.com.Dispatch.call(Dispatch.java:529) ~[Jacob-1.20.jar!/:na]

 

It happens on this line of code:

Dispatch doc = Dispatch.call(docs"Add").toDispatch();

And it happens occasionally.

Translate
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
Community Expert ,
Nov 18, 2022 Nov 18, 2022

Well, that just happens if one is calling AI with Jacob. Don't do that.

 

; -)

 

Translate
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
Community Expert ,
Nov 18, 2022 Nov 18, 2022

🤣🤣🤣

Translate
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
Community Beginner ,
Nov 21, 2022 Nov 21, 2022

This is my code:

 

ActiveXComponent  app = new ActiveXComponent("Illustrator.Application");
Dispatch docs = Dispatch.get(app, "Documents").toDispatch();
Dispatch doc = Dispatch.call(docs, "Add").toDispatch();

 And this is error info:

 

com.jacob.com.ComFailException: Invoke of: Add
Source: Adobe Illustrator
Description: an Illustrator error occurred: 129 ('')

at com.jacob.com.Dispatch.invokev(Native Method) ~[Jacob-1.20.jar!/:na]
at com.jacob.com.Dispatch.invokev(Dispatch.java:625) ~[Jacob-1.20.jar!/:na]
at com.jacob.com.Dispatch.callN(Dispatch.java:453) ~[Jacob-1.20.jar!/:na]
at com.jacob.com.Dispatch.call(Dispatch.java:529) ~[Jacob-1.20.jar!/:na]

 

It happens on this line of code:

Dispatch doc = Dispatch.call(docs, "Add").toDispatch();

And it happens occasionally.

Translate
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