Search code examples
autodesk-forgerevit-apiautodesk-designautomation

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:( "

and the following log -

jstree.min.js:5 [Deprecation] document.registerElement is deprecated and will be removed in M73, around March 2019. Please use window.customElements.define instead. See https://www.chromestatus.com/features/4642138092470272 for more details. (anonymous) @ jstree.min.js:5 ForgeTree.js:348 Uncaught TypeError: Cannot read property 'className' of undefined at refreshTypeList (ForgeTree.js:348) at HTMLSpanElement.spanRemove.onclick (ForgeTree.js:339)

Also while following the instruction in the provided code, most of the links give in README.md for Postman collection (https://github.com/Developer-Autodesk/design-automation-for-revit/blob/master/Docs/AppBundle.md ) was in-accessible to me.


Solution

  • The error you mentioned is on the browser side and it's related to the jsTree, which needs updating due to a browser change. We're fixing it on our samples.

    About the overall error, it probably due to a missing setup on the sample. As a suggestion, I would suggest a basic tutorial for Design Automation. Back to the error, you probably need to check the reports.txt to see what happened during the Workitem execution.

    We're also fixing a few broken links on the documentation, sorry about that. Are you looking for anything specific?

    Update

    Design Automation requires code:all scope.