Erik83
Erik83

Reputation: 549

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" 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?

Upvotes: 1

Views: 61

Answers (1)

Erik83
Erik83

Reputation: 549

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

Upvotes: 1

Related Questions