476 questions
4
votes
2
answers
456
views
Forge DA for Revit Multiple Versions
Ok I think we have a DA for Revit app running in Forge, but the next question is how to support multiple Revit version and I can't find a ton of documentation on it. Here is what I understand (or ...
3
votes
2
answers
622
views
How to Duplicate current `Family Type` and update it's parameters
We are using Autodesk's Forge (or Platform Service), more specifically, the Design Automation where we run scripts on our files in the cloud.
We are looking into ways to import a "Type Catalog&...
3
votes
1
answer
248
views
How to pass a huge json file to the Command.cs in forge api design automation for revit?
I created a project from this tutorial.
How may I send a huge json file by user to be read in Command.cs in Design Automation for Revit on cloud? I receive the file in DesignAutomationController.cs ...
2
votes
1
answer
1k
views
Returning Revit elements data as JSON in Forge API
Within a web client using the Forge API, I would like to get a JSON array of Revit elements in a model. Using the Design Automation API, I am creating an Activity that uses FilteredElementCollector to ...
2
votes
3
answers
2k
views
How to edit an AutoCAD PC3 file programmatically
I want to be able to add more default/custom paper sizes to a user's "DWG to PDF" PC3 file in AutoCAD, (or at least be able to read it) but the only way seems to be using the interface that AutoCAD ...
2
votes
1
answer
102
views
Example for payload in the APS WorkItem using Revit Automation
I am trying to find an example of how to send a heavy json file as a payload in the workitem of the APS API. And also how can I retreive such json in the automation side in C#.
Thanks in advance.
I ...
2
votes
1
answer
338
views
Revit Design Automation Control Open Process with Dynamic File Name
We have a design automation application for Revit that handles models from BIM 360 and we would like to open models using our own process so we can modify what worksets are opened, etc. We have found ...
2
votes
1
answer
236
views
Revit 2025 App Bundle migration causes "Autodesk.Revit.Exceptions.RevitServerUnauthorizedException" when saving model to ACC
Our group utilizes app bundles to automate project setup in ACC. We have been utilizing the same process for versions of Revit 2022-2024 with no problems. I have recently ran into issues when ...
2
votes
1
answer
335
views
Extractor error code -777 when using design automation
I am trying to complete a full runthrough of the Forge API for an inventor model. We have succesfully managed to submit the workitem which does everything it needs to do based on our personalised ...
2
votes
2
answers
1k
views
How to Revit export PDF by DesignAutomationV3 (Forge API)
I try your code to export DWGs in blog Autodesk Forge. It is work very well, I get a zip with files dwgs. Now i try to export PDF but it not work, i just get a zip with no things. I think it problem ...
1
vote
1
answer
1k
views
Logging in Revit Design Automation add-in
I want to send some diagnostic output to the default report.txt file.
In some posts it is shown that exceptions are logged to this report.txt file somehow (automatically or not?).
Also, I see in ...
1
vote
2
answers
2k
views
Reliably Determine Revit Version of BIM 360 Project
Design Automation AppBundles for Revit require the identification of the Revit engine, which includes the version (year) of Revit. So to make a Design Automation to support multiple Revit versions, ...
1
vote
1
answer
104
views
Forge design automation app stack at "workitem started:
I am using learn.forge.designautomation-master sample code. Using VS 2019, ngrok as described in forge tutorial.So far did not do any mistake knowingly. Please see the screen shot. The app is stack as ...
1
vote
1
answer
74
views
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 ...
1
vote
1
answer
937
views
Revit Design Automation: Possible to Set IFC Export Setting?
I noticed that Model Derivatives are able to translate Revit to IFC using a specified Export Setting Name. Is it possible to do the same in Design Automation? The Autodesk exporter (Autodesk.IFC....
1
vote
1
answer
494
views
How can i force design automation to open detached model?
Question about the Design Automation API.
Is it possible to create a Design Automation script that removes worksharing so that Design Automation can work on the rest of the file and then throw that ...
1
vote
1
answer
1k
views
Creating a material with texture in Autodesk Revit Forge Design Automation
I'm currently working on some Revit API code which is running in the Autodesk Forge Design Automation cloud solution. Basically, I'm trying to create a material and attach a texture to it via the ...
1
vote
1
answer
360
views
Forge Design Automation Revit Workitem Arguments
I'm following the Design Automation API v3 tutorial for Revit.
When doing a workitem post I'm a little unclear about the "rvtFile" and "result" arguments. Can the rvtFile url be in an aws bucket? ...
1
vote
1
answer
429
views
Autodesk Forge: WorkItem failing due to AppPackage Issues
My AppPackage fails to load, and I'm unable to find the exact answer in the documentation or by the error message/code.
I tested the bundle by unzipping it into the "C:\Program Files\Autodesk\...
1
vote
2
answers
378
views
Custom plot with pc3
I'm trying to do a custom plot with design automation, but it crashes on validator.Validate(plotInfo); with a eDeviceNotFound error.
It's because the Acad engine can't find my custom.pc3 file.
I ...
1
vote
2
answers
386
views
Design Automation API: My file is being corrupted but everything points to success
I've been working with the Design Automation API to run some simple scripts on some drawing files, but my output file is always corrupted and I'm not sure why.
I'm running the following script to add ...
1
vote
1
answer
33
views
APS/Forge signeds3upload minutesExpiration limit to 60 minutes, URLexpired when workitem ends
I am running an app in Autodesk Platform Services(formerly Forge). For some files it takes more than 60 minutes to get the results, so the upload URL has expired then the upload takes place, ending in ...
1
vote
2
answers
99
views
Autodesk Data Management (OSS) SDK and CreateSignedResourceAsync
I'm using C# and upgrading from Autodesk.Forge to Autodesk .NET SDK (OssClient) and when I try to create a signed url (ossClient.CreateSignedResourceAsync()), I run into the problem that a file with a ...
1
vote
1
answer
83
views
Design Automation not export .sat file
I have a problem with exporting an autodesk revit .sat file using design automation. If I run it inside Revit on desktop, there is no problem. but the same code does not work from Design automation. I ...
1
vote
1
answer
61
views
Error uploading appBundle to APS Design Automation
I'm trying to upload the app-bundle to aps, but keeps getting a 404 error:
{
"developerMessage": "The requested resource does not exist.",
"moreInfo": "https:...