autodesk forge - Plot To PDF Design Automation failing with Failed Instructions - Stack Overflow

The PlotToPDF Design Automation fails for certain jobs. I am not sure the reason, as I only find "

The PlotToPDF Design Automation fails for certain jobs. I am not sure the reason, as I only find "Failed Instructions". This happens around 12 mins after the work item starts processing. I am using a custom activity that targets a specific layout and loads a specific .ctb file. However, I had success with the same for other drawings. How do I confirm the cause of error? I have set the limitProcessingTimeSec to 1 hour. I understand the limitTotalUncompressedAppsSizeInMB cannot be updated via API. What are my options, in case the drawing with all it's XREFs exceed the quota limit?

Log is below:

The PlotToPDF Design Automation fails for certain jobs. I am not sure the reason, as I only find "Failed Instructions". This happens around 12 mins after the work item starts processing. I am using a custom activity that targets a specific layout and loads a specific .ctb file. However, I had success with the same for other drawings. How do I confirm the cause of error? I have set the limitProcessingTimeSec to 1 hour. I understand the limitTotalUncompressedAppsSizeInMB cannot be updated via API. What are my options, in case the drawing with all it's XREFs exceed the quota limit?

Log is below:

Share Improve this question asked Mar 24 at 20:46 theandroidtheandroid 1,0631 gold badge8 silver badges15 bronze badges 5
  • the error is "AutoCAD Core Console is shut down due to timeout", and this timeout has nothing to do with limitProcessingTimeSec or limitTotalUncompressedAppsSizeInMB. Which version your jobs run on? It will be more helpful if you can provide WorkItem Id. – Emma Zhu Commented Mar 25 at 3:06
  • AutoCAD2024 (EngineId: "Autodesk.AutoCAD_24_1!31") WorkItemId: 0725828c262e42c995d6acf124460a7f – theandroid Commented Mar 25 at 12:50
  • Can you try the new version of engine? please check: aps.autodesk/en/docs/design-automation/v3/developers_guide/…, 24_1 will be deprecated soon – Emma Zhu Commented Mar 26 at 2:22
  • The new version of engine(25_0) may solve the error. If not, please let us know by sharing the WorkItem Id and the information to repo the issue(please check all needed information at: aps.autodesk/en/docs/design-automation/v3/developers_guide/…) – Emma Zhu Commented Mar 26 at 2:26
  • @EmmaZhu - workitem id: 8b3a4a98295b41d2919e4d5d3ba979cf uses autodesk 25_0 engine. still fails with the obscure "failed instructions". From submission to getting this error back it takes 13.6 minutes. Another workitem id for a different plot job that uses the same engine (new one 25_0) is d4ab68371b3446feba770d81face6afe. To repro, you will probably need the zip. Given the workItemId, would you be able to retrieve the buckets the zip is in and run it? – theandroid Commented Mar 31 at 17:21
Add a comment  | 

1 Answer 1

Reset to default 1

For anyone else, scratching their head, this is how I solved the problem.

I was under the assumption that AutoCAD Engine 24_0 corresponds to AutoCAD 2024 version. The only place where I could find which engineID corresponds to which AutoCAD version is the DA release notes

Alternatively, passing the engineId to the Engines datapoint Eg:
https://developer.api.autodesk/da/us-east/v3/engines/Autodesk.AutoCAD+24_1
provides you with the description field that indicates which version it supports.

So for my use case, since the drawings are based on Civil3D 2024, I had to use Autodesk.AutoCAD+24_3 as the engineId.

Posting for easy reference:

AutoCAD / Civil3D version Design Automation AutoCAD Engine
2021 Autodesk.AutoCAD+24_0
2022 Autodesk.AutoCAD+24_1
2023 Autodesk.AutoCAD+24_2
2024 Autodesk.AutoCAD+24_3
2025 Autodesk.AutoCAD+25_0

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744229222a4564161.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信