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

Design Automation fails with : failedInstructions

I am trying to run a Revit plugin on Design Automation. Workitem fails with failedInstructions error. In the logs I can find "Error details: The system cannot find the file specified." Does that refer to the Revit file? Or the AppBundle? The input…
1
vote
1 answer

How to count all Element in that are similar to the FilteredElementCollector Symbol family of Special Equipment?

When I use DesignAutomation (Autodesk Forge) to count the number of BuiltInCategory.OST_SpecialityEquiosystem elements visible on the Revit file by getting the FilteredElementCollector lstEleCollector = new FilteredElementCollector (doc,…
1
vote
1 answer

How to put .rfa file on forge design automation?

I want to put file .rfa into Forge DesignAutomation to use function LoadFamily create Special equipment by Revit. I don't know how to put it. Is it possible to upload the .rfa? And do i need to configure the activity, bucket or anything else ?
1
vote
1 answer

Handling failures when opening a Revit file (before any transaction)

I'm developing a Revit plugin in C# for exporting data from Revit files. This plugin is used through the Design Automation API (i.e. without user interface, obviously). The whole process works fine for some RVT files. Unfortunately, for some other…
user15468527
1
vote
1 answer

The activity activityId could not be found (Parameter 'activityId')

For workitems i make /appbundles = "NamiliftActivity" and appbundles/:id/aliases "beta" but while sending data on /workitems axios({ method: 'POST', url: 'https://developer.api.autodesk.com/da/us-east/v3/workitems', headers:…
1
vote
1 answer

How to create a Design Automation workitem with a composite design Revit file with nested references

Given the following situation, where "->" is a Xref reference in either overlay or attachment mode: TOPHOST.rvt -> LINKA.rvt -> LINKA1.rvt I know that I can use .../:version_id/relationships/refs to retrieve references from TOPHOST.rvt, which…
1
vote
1 answer

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 appbundles and activities. The issue is when the new…
JJR
  • 11
  • 1
1
vote
2 answers

Use Design Automation for revit with an IFC input file

Is it possible to run a Design Automation addin for Revit with an IFC as input file? The idea is to send only an Ifc file and run the addin that must convert it to rvt.
1
vote
1 answer

Generation model using Forge (Design Automation) makes elements invisible

I have some troubles after Forge model generation. The main goal is to get rvt model from JSON. I have tested my code with Revit API in Revit. It works nice. But when add bundle to the Forge app and got rvt result - I have faced with weird glitch. I…
1
vote
1 answer

Autodesk-designautomation: Internal Server Error(Error Code 500): Missing parameter in WorkItem

I am using Autodesk Revit and have been trying to implement the Design Automation API. I have been successful in trying out the sample, modify-your-model tutorial where the dimensions of a window are altered. However the example code is not…
1
vote
2 answers

Best way to pass lengthy parameter to a Work Item

I would like to generate Revit files via DesignAutomation API, prefilled with Types and Layers that come from an external data source. The source can contain +10k types, and i would like to know what is the best approach to feed this data to the…
bitwise
  • 170
  • 12
1
vote
2 answers

An unexpected error happened during phase CoreEngineExecution of job

I have been developing an Inventor plugin. I have been testing against multiple STEP assemblies. Running the plugin against my local Inventor works in all cases. Running my plugin on the forge platform works in all cases BUT ONE. It fails after 1:40…
OldBloke
  • 51
  • 6
1
vote
1 answer

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 file away. For example, can i use Design…
M Scott
  • 45
  • 4
1
vote
1 answer

How to use custom font with Inventor Design Automation

I am trying to use a custom font with design automation when generating a pdf. Following the answer from this Stackoverflow question StackOverFlow Question, I placed the font file in the Contents folder of the bundle, and changed the…
1
vote
1 answer

Why do viewports created using commands in ObjectARX not save to the database?

Summary I'm trying to write a C# ObjectARX script to create a viewport that fits the extents of the layout using the -VPORTS Fit command, but for some reason the new viewport shows in AutoCAD but is never saved to the output drawing. Some things…
1 2
3
25 26