Design Automation for Revit at AU and in Public

One of the most exciting Revit related topics at Autodesk University is the expansion of the Forge Design Automation API to include support for Revit families and models in RFA and RVT files, aka Design Automation for Revit or DA4R:

Design Automation for Revit Public Beta

Mikako Harada officially announced that the Design Automation for Revit public beta is coming in the beginning of next year:

Great news: We are happy to announce that Design Automation API for Revit (aka Revit IO) will be going to public beta on January 28, 2019.

FDC226894 – DA4R at DevCon at AU Las Vegas

The main session presenting Forge Design Automation for Revit at the Forge DevCon at AU in Las Vegas was quite similar to the one I gave at DevCon and AU Germany in Darmstadt last month:

FDC226894 – Revit Data on Forge – How Can the Design Automation for Revit API Help Me?:

The Forge Design Automation API for Revit allows you to build web applications that can create, read, and modify Revit models in the cloud. No longer is access to Revit data trapped on the desktop. Learn how Forge can help you manage and create Revit data in cloud-native applications. We'll review the different kinds of apps you will be able to build using the Design Automation API to solve your company's challenges as well as demonstrate some sample applications using the service.

For your convenience, here is a direct link to the session handout.

This session was prepared and presented by:

AS226079 – Manage Revit Digital Content using DA4R

For some real live hands-on experience in making use of DA4R by participating in the ongoing private beta, we turn to the AU session AS226079 – Manage Revit Digital Content using Forge Design Automation API for Revit held by Mustafa Salaheldin Ali and Marc Durand of SNC-Lavalin Atkins on Tuesday November 13.

Here are the class materials in PDF format:

For your comfort and convenience, here is also the complete handout text directly:

Learning Objectives


In this class, you will discover how to create native Revit content as well as how to do project setup directly from a web portal. In this class, we will demonstrate how we used the Design Automation for Revit API to implement:

  1. Cloud based content management platform with client requirements and standards.
  2. Project template generation.
  3. Real time query and visualization.
  4. Native Revit file creation.

All directly from our web application!


Before we go through the objectives, we just wanted to cast some rays on what Forge Design Automation for Revit (a.k.a. is. So far, is a private beta, which means that few people have access to such technology for testing and evaluation purposes.

What is Forge Design Automation for Revit ( is part of the Forge Design Automation API for that lets you build web applications that create, read, and modify Revit models. It will allow developers to access the “business logic” of Revit on the cloud. Like Design Automation API for AutoCAD, developers can create client applications, which speak to the Revit engine via REST API.

Developers will be able to automate existing workflows or create new cloud workflows. Because Design Automation API for Revit is a Forge service, we can take advantage of other Forge services to easily connect our applications together.

What are some examples of what the service can do?

There are many options falling under three major workflows: Create, Extract, and Modify. Model

Like other Forge services, you will create a Forge client application, which will call the REST API endpoints. You can use any language, which can make REST calls. This client application will also do any “front-end” work you need – displaying UI to an end-user, for example.

In addition to the client application, we will create one or more Revit add-ins to execute against the Revit engine. They will be uploaded to the Design Automation service and your client application will refer to them when invoking the service. They can be kept private or public depending on what you want.

Architecture of

Fig.1 Architecture of


There is some important terminology, which we should be aware of, in order to be able to develop the application. components

Fig.2 components

In the following list I‘ll show you some of definitions and terms used:

Design Automation, Design Automation for Revit, DA, DA4R and will be used interchangeably to refer to the same thing.


There is no difference between writing a code using the DA API and writing the code for a regular Revit add-in, they are almost equivalent except that in DA you don’t have access to the UI components to the Revit interface and you only limited to address the db.

The real advantage is since the DA is a part of the Autodesk Forge platform that works on the cloud then you can make your add-in more powerful by giving it unlimited access to all other cloud service providers.

By connecting to other cloud services, you can use advanced features like Lambda functions from Amazon and even plug your add-in to the ML and AI provided from Microsoft or Google for example. integration with cloud platforms

Fig.3 integration with cloud platforms

The harmonization between a digital operating model, predictive analytics, and a microservices architecture allows digital organizations to quickly take customer desires and feedback and turn them into actionable, revenue-generating business solutions. As Artificial Intelligence or AI becomes more prevalent in business applications, these organizations use rudimentary machine learning to improve decision making in big data analysis.

Cloud based content management with automated client requirements and standardization

Using DA4R we were able to build a Revit integrated cloud-based Revit content management platform that helps us to produce healthier, higher quality models faster.

Our solution helps Digital Managers to organize and control the quality of their Revit family libraries.

How it works

The first step is to upload the Revit model to portal. Once the upload process is done the Web App will send a copy of the Revit file to the engine and trigger the Families extraction add-in. As soon as DA4R finishes the extraction, it will save the Families into folders named after their Category names. As the DA4R only will allow us to get the result of our processing in the form of single file, then we need to zip all the folders into a single archive.

The archived categorized families will then be uploaded to an AWS bucket where we will make benefit from the Amazon S3 services and the Lamda functions. After the upload is complete, we will use Lambda function to trigger an extraction process, which will unzip the contents into another bucket. Whenever the extraction is finished, another Lambda function will be triggered to upload the extracted families into their related buckets in the Forge associated buckets. Applying the corporate standard to the families like file name convention, validating the families or testing the parameters can take place at any stage after the extraction, either by triggering another Lambda function or at your Web App after the Families are uploaded to the Forge buckets. integration with cloud-platforms

Fig.4 integration with cloud-platforms


By connecting to Cloud-Services from different vendors, you can improve your web application by integrating many Machine Learning and AI algorithms with it.

This will help you quickly build projects by getting suggestions from the ML about the Families you need to use or optimum design layout and building orientation for instance.

As you are keeping all your content in one place, you have a Single point of truth where everything is up-to-date and sanitized. In addition, that will make you sure of Templates consistency.

Generating native project templates through Revit I/O on the cloud

The most powerful benefits from using is the ability of generating Revit digital content on the cloud. Centralization will lead to a single point of truth consistency and easy maintainability, tracking the Project history and automatically update the status.

Creating Templates

Creating a robust collection of content is critical to any architectural design firm. In this section, we will consider the issue of content as it pertains to your project templates. Instead of using content that is preloaded in the templates, we can provide it externally and load when needed. You have the choice of which families should be included.

Embedding the Loadable families

Using DA4R we were able to create templates that contains the corporate’s Families from a standard Families Catalogue. This has been achieved by gathering the families from each project uploaded to the portal, validated and making sure it is following the standard.

Note that many Families are customized and modified through the project lifetime. By using a simple ML algorithm, you can create a Suggestion System which is able to recognize the Families of the same geometry but different in parameters. That way the system is able to do versioning and ask you which version you want to keep or you need to keep both or merge them into one.

The ML algorithm can recognize the type of the project from the EIR and then suggest you the right Families to include in your project.

In our portal user can drag and drop or simply select the required Families for the next project into a Forge viewer; User can also reposition and change the orientation of each Family.

Once you finish the laying out, you can execute the DA Workitem that will create a Revit template file with all the positioned Families at the same location.

Family Catalogue created by

Fig.5 Family Catalogue created by

Embedding the System families

It is easy now to create all your System Families now online on the fly. Keeping your Families centralized will assure the consistency of your model and guarantee easy maintaining and upgrade.

In our portal, we are able to create different type of System Families like Walls, Floors, Ceilings and Roofs. Once the Family is created, it is easy to embed it into the template.

Creating Revit system Families using

Fig.6 Creating Revit system Families using

Learn how to link to Forge for Real-Time query and visualization

As DA4R is a part of the Forge platform, it became so easy to integrate it with different components of Forge. Making advantage of this privilege, we managed to push the model geometry and data back and forth between Forge Viewer and This allows us to create models in the Forge Viewer then send it to for further processing and file creation.

On the other hand, we managed to extract information from the model directly using DA4R to build dashboards, insights and reports.

Real-Time Query

In the following example, we will show how we used to make enquiries from Revit Models using DA4R. To check the model health there are many indicators, one of them is the Model Warnings. By checking the status of the Model Warnings, we can solve issues that can enhance the performance of the model and minimize the errors.

In our portal, we can enquiry the warnings directly from the model and present them in different types of graphs.

Creating Revit Model Queries on Real-Time using

Fig.7 Creating Revit Model Queries on Real-Time using

Real-Time Visualization

In this example, we will demonstrate how using can be very helpful to build a dashboard for Revit Model. One of our projects was a MasterPlan project, where the client needed to visually get analytics of the GIS information of the plots to help him making some decisions. Using, we were able to extract the data directly from the model, where all the GIS data were stored, and then recalled them online directly from the model to build the insights dashboard.

Getting Revit Model Analytics using

Fig.8 Getting Revit Model Analytics using

Learn how to manipulate and manage content in the cloud

How many times did you need to sanitize your content after delivering a project?

Maintaining the Models and keeping them healthy are very important to ensure the consistency of the project and its robustness. This is why is playing a great role in that, as we can manipulate the Revit project contents to verify that we met the corporate standards to keep the model healthy as possible.

In our example, we created a set of criteria as a checklist that can be applied to the Revit project to ensure its cleanliness. Such list can contain some regular tasks like opening the file with Audit, deleting all the unused Sections, removing all unplaced Rooms and Groups, resaving the file with Compact option selected. That way, as we manipulated the Revit file content, we can get better Model performance and minimize the storage space.

Manipulating Revit Model content for sanitizing

Fig.9 Manipulating Revit Model content for sanitizing


With new technologies constantly emerging, companies need to be at the forefront in order to continue providing competitive and relevant offerings to their clients. The evolution of the AEC industry dictates a shift in which companies need to adapt to such changes. The recent development and deployment of Building Information Modelling (BIM), for example, emphasizes the importance of such endeavours.

By finding a way to glue the new technologies with the BIM standards, we can say that is the best technology to do so. As this technology is still evolving we expect more and more in the future to come.

Very many thanks to Mustafa and Marc for preparing this material and sharing their exciting new experience!

Recording and Presentation Videos Online

The AU class recording and all videos in the presentation are now available online:

Thank you again @Mustafa Salaheldin for the wonderful demos!