Questions tagged [autodesk-designautomation]

For questions related to Autodesk Forge Design Automation, including the REST web service and engine specific questions (AutoCAD, Inventor, Revit or 3dsMax).

384 questions
1
vote
1 answer

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 the screen shot. What could be the reason ? I…
nayra n
  • 29
  • 7
1
vote
2 answers

Unspecified error on adding the Drawing Document

i was stuck in a problem, where i need to open a new drawing file with the specified template file, as shown below. objInventorServer.Documents.Add(Inventor.DocumentTypeEnum.kDrawingDocumentObject, templatePath) But this line is giving an…
Anurag
  • 25
  • 3
1
vote
1 answer

Optimizing Forge Design Automation calls

I have Revit Add-in that I'm converting to Design Automation (DA) Add-in. Addin takes input as xml file and outputs rfa file. On Revit side code executes in about 0.5s, but when I upload it to DA it takes about 30s - 40s to execute. I'm trying to…
1
vote
1 answer

Forge Create Activity Gives Bad Request

Using DA for Revit on Autodesk Forge. I have my code created and tested locally and am trying to deploy it to a testing application but hit a bit of a snag and not sure where I'm going wrong. I have created the Forge App, created and uploaded the…
sfaust
  • 2,089
  • 28
  • 54
1
vote
1 answer

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 some samples that people do the logging…
1
vote
1 answer

Autodesk Forge Design Automation - Error Opening a model - How to bypass Dialog Box "Model has been transmitted from remote location"

I'm trying to use the Design Automation api to open a Revit model from our BIM360 account, eg. to upgrade it from a previous version of Revit When I test locally, some rvt files display a dialog box during opening: Transmitted File - this file has…
Ed Green
  • 33
  • 5
1
vote
1 answer

Can DA4R connect to a database?

I have succeeded in creating an appbundle that saves information about a document to a JSON file. I tried using the same appbundle to connect and save the document information to an external Mongodb database, but received a connection error. I tried…
vladp
  • 17
  • 6
1
vote
2 answers

Waiting for DeleteForgeAppAsync to proceed

I am using the Forge .NET SDK. To clear all appbundles and activities under my Forge App account I call : await _designAutomation.DeleteForgeAppAsync("me"); Right afterwards I need to (re)create a new nickname for my Forge App then…
M.V.
  • 177
  • 9
1
vote
2 answers

Create project files from template files using Revit API and design automation

I am working in an engineering company and we deal a lot with Revit templates such as Structure and MEP architecture ...etc every time we need to create a project based on one of our templates we need to do something like creating work-set and…
user11641191
1
vote
1 answer

Autodesk Forge - Revit New Dimension added but not visible

I wrote a tool which draws model curves on a view and adds dimensions to it. The tool when run locally on my computer it works fine, lines are drawn and dimension are added and visible. But, when I upload the code to Forge Design Automation, the…
1
vote
1 answer

What are the best options to export Revit views to convert to PDF using the Forge Design Automation API?

I'm testing the conversion of several Revit view sheets to PDF as @Zhong Wu mentioned in How to Revit export PDF by DesignAutomationV3 (Forge API) The problem is that the result is quite different from the original, especially regarding hatches and…
1
vote
1 answer

How to define the output filename based on input rvtFile in Activity?

I've created activity , and my output file name is always result.zip. I put my result into the bucket. When i post few workitems, everytime rezult.zip file overrides. Is it possible to define the output file name based in inputFileName like var…
1
vote
0 answers

Can Forge Autodesk Recap API convert a point cloud data to surface data?

I have point cloud data which is in the form of generally huge files (RCS, RCP). I am looking for an option where I can get files with surface data possibly with reduced files size. Is it possible to view this kind of large data in Forge Viewer?
1
vote
1 answer

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? Also what are the restrictions for the result…
1
vote
1 answer

Autodesk Forge Design automation - Revit IO: unable to upload application package to design automation app

I am trying to explore design automation for Revit by exploring the code at https://github.com/Autodesk-Forge/design.automation-nodejs-revit.window.family.create. When I run the application, I get an error message "Failed to create the family:(…