For questions related to Autodesk Forge Design Automation, including the REST web service and engine specific questions (AutoCAD, Inventor, Revit or 3dsMax).
Questions tagged [autodesk-designautomation]
384 questions
0
votes
1 answer
Create a WorkItem fails with "Object reference not set to an instance of an object."
When creating a work item with the following arguments, we get what appears to be an internal error from forge:
{
"error":{
"code":"","message":"An error has occurred.","innererror":{
"message":"Object reference not set to an instance of…

Mike
- 8,853
- 3
- 35
- 44
0
votes
1 answer
How to use user defined font on Forge design automation with AutoCAD Plot API
We are using the Forge Plot API to plot DWGs to PDF/JPG. A customer came up with DWGs that are using a special TTF-Font called ROBBI.TTF. I suppose this font has to be uploaded to the Forge server before it can be used.
Is it possible to upload the…

Thomas
- 11
- 2
0
votes
3 answers
Bundle activity not found
i'm trying to make the Workitem tutorial. it works but now i'm trying to do a custom bundle but i can't run it.
https://forge.autodesk.com/en/docs/design-automation/v3/tutorials/inventor/run-workitem/
Here's my request (the last one of the…

Saif Ejjilali
- 107
- 2
- 3
- 12
0
votes
3 answers
Forge request fails on postman and curl
Hello i'm trying the introduction to the design automation ofr inventor but i'm stuck on the upload parameters.
this is the article:
https://forge.autodesk.com/blog/simple-introduction-design-automation-inventor
my last curl request:
curl -X POST…

Saif Ejjilali
- 107
- 2
- 3
- 12
0
votes
1 answer
Payload length of x bytes exceeds the allowed limit of 8192 bytes
Is there a way to increase the max size of the workitem in the post request? I have 7 parameters, that means 7 aws presigned url, hence the workitem size during the post.

Romain DA ROCHA
- 47
- 1
- 6
0
votes
1 answer
Why is my WorkItem failing due to an Unhandled Access Violation error?
I am trying to post a WorkItem using v2 of the Design Automation API and forge-api-nodejs-client. The WorkItem takes a json file as an input parameter. The custom .NET plugin that I've created, depends on the json file.
The WorkItem fails due to…

Andrew McEwen
- 21
- 5
0
votes
2 answers
An appbundles binary could not be found (Design Automation V3)
I'm trying to post a workitem using design automation v3. I managed to create an appbundle and an activity, but when I post a workitem I get this exception :
The server returned the non-success status code 400 (Bad Request).
More error…

Romain DA ROCHA
- 47
- 1
- 6
0
votes
1 answer
Autocad custom attributes translate to svf and read by Forge viewer
the customer data can be either of dwg file level or object level(such as XRecord), is it possible that Viewer reads it like reading metadata from Revit? Thanks.

rock-paper
- 93
- 1
- 9
0
votes
1 answer
Notification workitem completing without polling on v3
it seems that there is a way to achieve non polling mechanism to get the completion of a workitem as said on this page : https://forge.autodesk.com/en/docs/design-automation/v3/developers_guide/basics/
But I can't find a way to specify it using the…

Romain DA ROCHA
- 47
- 1
- 6
0
votes
1 answer
Why is the DELETE WorkItems endpoint of the v2 Design Automation API apparently non-existent?
I am trying to delete a WorkItem using forge-api-nodejs-client.
Here's my code:
WorkItemsApi.deleteWorkItem(workItemId, oAuthTwoLegged, oAuthTwoLegged.getCredentials());
I get a 404 response telling me that the requested resource does not…

Andrew McEwen
- 21
- 5
0
votes
1 answer
How to plot correct pdf from embed image dwg
Please tell me how to plot correct pdf from embed image dwg.
I am evaluating Design Automation plot from the dwg with enbed image.
I recieved black filled dwg on below condition.
Dasign Automation API…

Hiroyuki Abe
- 9
- 3
0
votes
3 answers
Does my custom CAD script created with .NET require a command for quitting?
I am trying to execute a CAD script on a DWG file stored in my bucket using the Design Automation API. It just writes "Hello World!!!" on the file.
In order to create the script, I followed along with this…

Andrew McEwen
- 21
- 5
0
votes
1 answer
How to use extra font on Forge design automation with AutoCAD Plot API
I found missing characters in plotted PDF when I evaluated Autocad plot API with forge design automation. Missing characters are typed in the Japanese font "MS P Gothic".
Please tell me how to use extra font on Forge design automation with AutoCAD…

Hiroyuki Abe
- 9
- 3
0
votes
1 answer
Can I get the URL of a translated DWG and use it as the input for a Design Automation Activity?
I have translated some DWG files into SVFs using the Model Derivative API. I kept track of the returned URNS and I'm able to view each translated file in the Forge viewer.
Since I used a persistent retention policy, those original DWG files are…

Andrew McEwen
- 21
- 5
0
votes
0 answers
Why am I getting an internal server error when trying to post a new Activity using Design Automation API?
I am creating a simple Node application that posts a new Activity using the Forge Design Automation API. The activity is not supposed to do anything. This is just a test and I plan to delete the Activity right away. When I run this, I get an…

Andrew McEwen
- 21
- 5