1

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" logs: enter image description here

Basically the app takes an rfa and should output a json. I have defined the activity like this: enter image description here

What can I do to investigate what is causing this issue?

Erik83
  • 539
  • 3
  • 5
  • 19

1 Answers1

1

I found the issue: you need to explicitly set the Succeeded property to true on the DesignAutomationReadyEventArgs. Otherwise it will report as failed.

Erik83
  • 539
  • 3
  • 5
  • 19
  • Yes, correct! The `DesignAutomationReadyEventArgs.Succeeded` must be true like here https://forge.autodesk.com/en/docs/design-automation/v3/tutorials/revit/step1-convert-addin/#step-6-add-an-event-handler-for-designautomationready – Eason Kang Aug 31 '22 at 06:18