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
1
vote
1 answer
Need to extract family data from the Revit model using Design Automation API?
There is a query regarding Design Automation API:
I have created a Revit plugin to extract Family data and it is also working fine with Revit Desktop application, But when I am executing it with the Design Automation API I am getting…

Abhishek Singh
- 13
- 3
1
vote
1 answer
How to save Family to a new file
Using Revit API and without using Revit UI, I want to save a loaded family into a new file.
Let's take a look at the following code:
using (Transaction transaction = new Transaction(document))
{
transaction.Start("Load and Save…

codeFreak24
- 189
- 10
1
vote
1 answer
Json file not found when WorkItem is created
I'm trying to send some information in JSON format along with a workitem. The idea is to create a json file called "params.json" in the working folder where the workitem is executed. The problem is the JSON file is not found.
I have this…

Eduardo
- 687
- 1
- 6
- 24
1
vote
1 answer
APS/DA: How to retrieve an url in correct format from BIM360?
Following this tutorial for Design Automation API for AutoCAD I get the expected result.
The goal is to use an existing drawing as input, stored in BIM360.
Therefore I have also a running example. In task 6 "Send WorkItem" I changed the input file…

user2194358
- 57
- 4
1
vote
1 answer
WorkItem keep sending requests after OnComplete callback
I've created a workitem to get information from some Revit files using Design Automation.
I'm using ngrok to get the callback request, sending it to localhost and process the information. The problem is every 2-5 minutes I'm getting the same…

Eduardo
- 687
- 1
- 6
- 24
1
vote
1 answer
File xxxxx.package doesn't exists when run WorkItem
I'm trying to run a WorkItem in a activity. My command looks like this:
"$(engine.path)\\revitcoreconsole.exe /i $(args[rvtFile].path) /al $(appbundles[GetSheetsApp].path)"
When I try to run the workitem I'm getting this error:
[06/20/2023…

Eduardo
- 687
- 1
- 6
- 24
1
vote
1 answer
Identify And Update Table Records In DWG File | Design Automation API | Autodesk Platform Services API
We want to create an autocad plugin that takes input drawing (dwg file) [![Dwg file with tables][1]][1] , identify the table records in drawing and then update them as per user inputs and save the drawing.
Example : In shared drawing, we want to…

Ajay Pratap Sing Rao
- 23
- 3
1
vote
1 answer
Is it possible to use ThisApplication.CommandManager in Inventor Design Automation?
I have an iLogic rule tied to an Event Trigger in an Inventor drawing. The rule contains the following line of code;
Call ThisApplication.CommandManager.ControlDefinitions.Item("DrawingArrangeDimensionsCmd").Execute()
While the above line works…

Ryan Small
- 11
- 1
1
vote
1 answer
Forge (aka APS) how to use UploadObject (as part of Forge_server_utils)
I'm trying perform an upload of a Inventor part to APS via nodeJS (using Forge_Server_Utils from Petr Broz) . On the server side I have this endpoint implementation, lets say UploadObject :
const { FORGE_CLIENT_ID, FORGE_CLIENT_SECRET } =…

Mark Brouwers
- 37
- 1
- 2
1
vote
1 answer
Get Revit Workshared cloud model as C# Autodesk.Revit.DB Document class
I have a Revit plug-in, I want it to do some operations on a workshared cloud model.
I can't figure out how to get the Revit model as a Document class (Autodesk.Revit.DB)
which is stored live on BIM360 cloud, not a local copy, nor downloaded…

Tom Boudniatski
- 67
- 6
1
vote
2 answers
Autodesk Forge Data Management DotNet Package
I wonder if there is a forge data management library for dotnet like design automation package.
https://github.com/Autodesk-Forge/forge-api-dotnet-design.automation
So I could use data management to store the files used in the design automation in…
1
vote
2 answers
RUN iLogic rule on drawing (old C360_OnPublish)
when we used configurator 360 we could start a rule on the Inventor Drawing (idw) simply by calling it "C360_OnPublish".
Now with Forge it doesn't work anymore.
Run Rule is essential to be able to do a quick scaling of the view after a configuration…

Fra
- 11
- 1
1
vote
1 answer
Autodesk Forge design automation [workitems request] fail in heroku deployment "Failed to create a workitem"
I've downloaded the Design automation sample from github https://github.com/Autodesk-Forge/learn.forge.designautomation/tree/nodejs
I followed the toturial to make it working locally,
my issue is after deploying the app to heroku and filled the…

omar amen
- 13
- 3
1
vote
1 answer
Forge design automation for Revit fail after our code finish
We are experimenting with Design automation for Revit and have gotten stuck on a failure that is hard to debug:
basically our code finish and then forge takes over and fails.
Here is part of the log: I have marked in green what part are "our"…

Erik83
- 539
- 3
- 5
- 19
1
vote
2 answers
Cannot deserialize the current JSON array for Revit design automation workitem
i have a json file like below as input parameters for Revit design automation:
const data = {
ModelId: "dXJuOmFkc2sud2lwcHJvZDpmcy5maWxlOnZmLjNSTzhMWmtUVGVHM3p1M1FoNjRGM3c_dmVyc2lvbj0x",
ElementIds: [{
"UniqueId":…

bim2016
- 105
- 1
- 10