Revit 2021 Tutorial – Structural Data Extraction Part 1

It has been a while since my last post, and surprisingly, I have been very busy working from home with all sorts of projects, software development and online training/consultancy engagements. It is good to know the world is still turning!

Anyway, perhaps some of you have less demands on your time and something I wanted to share was the ‘easy’ method of extracting data and metrics from your Revit models without expensive software or Dynamo skills. When we think/talk about BIMs the important part is really the information that is held within your very expensive Revit models. Only a select few have the privilege of looking into this sea of data. In this tutorial we will take a look at how you can extract some basic information from Revit and present this in meaningful ways using MS Power Bi. You could do some of these things just with MS Excel, but MS Power Bi is much better a presenting and sharing data visualisations.

Part 1 of this tutorial writes data to MS Excel and Part 2 will show some basic operations to read this into MS Power BI and create some data visuals.

The only software you will need is Revit and MS Excel/MS Power BI.

However, if you do not have the MS Excel drivers you can download and install the AccessDatabaseEngine_X64.exe from the link below,
https://www.microsoft.com/en-us/download/details.aspx?id=13255
Then run ODBC Data Sources (64-bit) and Microsoft Excel Drive (xls, xlsx, ….) can be found.
Make sure MS Office installed is 64-bit.

Below is an extraction of an automated report showing the Revit categories and total material consumption. So much easier to understand the data when presented in a graphical form.

Structural Materials from REvit

So, let us start by looking at ODBC. Some of you may have seen the option to export to ODBC within the Export options of Revit. If you have not seen this, then the image below shows how you can navigate to this option.

Revit ODBC

ODBC is an acronym for Open Database Connectivity and it essentially is a tool to connect databases together. Most of us will know that Revit is fundamentally a database with a graphics engine for the visualisation of the building elements.

The ODBC option gives us a simple platform to extract data from a Revit project and view the data in applications such as MS Excel, traditional databases, or software tools such as MS Power BI.

Lets first create a new MS Excel file to store our data. Open Windows Explorer and create a new Microsoft Excel Worksheet by right clicking and selecting the New option.

Create New MS Excel Workbook

Name the workbook RevitDataExtraction.xlsx

Lets now configure the ODBC Datasource!

The first step to export some Revit data is to configure a data source, I am assuming we are all using Windows 10 so this will be for 64-bit systems. To access the ODBC Data Source Administrator, type ODBC at the search bar.

ODBC Data Source Administrator Search

You will then see the ODBC Data Source Administrator dialog box. Here you will see data sources that are already configured. We are going to Add a new Data Source. Click Add

ODBC Data Source Administrator

There are many options here but to keep things simple, select the Microsoft Excel Driver option as shown below.

Create New Data Source

Click the Finish button. You should then be presented with the ODBC Microsoft Excel Setup dialog box as shown below.

ODBC Microsoft Excel Setup Dialog

Click the Select Workbook button and browse to the MS Excel document you just created. The file navigation is very old so be warned!

Once you have located the Excel workbook you need to give the Data Source a name. In the below example I am naming this DataExtractionFromRevit

ODBC MS Excel DataExtractionFromRevit

Click OK

You will now have your data source configured.

ODBC Data Source Configured

Click OK to the ODBC Data Source Administrator dialog.

Extracting Data from a Revit Model

Now that the ODBC driver is configured, we can use this data source to extract information from a Revit model. To begin, lets extract data from a sample file that ships with Revit. Click the File Ribbon, then Pause over the Open command and select Sample Files from the menu.

 

From the Open dialog select rst_advanced_sample_project.rvt. This is a basic structural model with a variety of elements that will serve as a tutorial.

The model should look like the example shown below.

rst_advanced_sample_project Tutorial

We are now ready to extract the Data. From the File Ribbon select Export and then ODBC Database as shown below.

Revit ODBC

From the Select Data Source Dialog click the Machine Data Source tab as shown below.

Machine Data Source

Once in the Machine Data Source Tab, select the Machine Data Source that we just set, ‘DataExtractionFromRevit’.

Revit Select Machine Data Source

Click OK

Select your workbook and click OK

Select Workbook

There should now be a slight pause while Revit writes the data to our MS Excel document.

Open your Excel file and you will notice that the categories are arranged as work sheets. Scroll to the Structural Columns and you should see the following data. Each column has a separate row with all the data displayed.

Excel - Structural Coulmns

It is worth noting that if additional shared parameters are added, these will also appear in the workbook.

In the next session we will use Microsoft Power BI to present this data!

Hope this was useful,

 

LawrenceH

Revit 2021 – What’s new in structures

So, it’s that time of year again to review and comment on the new features and improvements in Revit 2021, as always, I will focus on the structural features and mention a couple of core platform features which will be useful. Don’t forget to check out the new features in 2020.1 and 2020.2 as I will not be reviewing these in this blog post.

Before I take a look at the structural features lets look at a platform feature which many have been waiting for a very long time! The ability to rotate section heads, elevation heads and detail callouts. I think every time I create a template or train Revit; someone always asks if the sections can be rotated. Having said that, most now simply accept the standard way in which sections are presented but if you want to change the section heads then you simply open the family and check the ‘Rotate text with component’ option.

Revit 2021 - Rotating Section Heads

Another useful platform feature is the ability to enable filters that are setup in the filters tab of the Visibility/Graphic Overrides dialog. This is particularly useful as in previous releases you would need to remove the filter to return to the default view but now you can simply deactivate and reactivate with a simple checkbox.

Enable in View for Visibility Graphic Overrides

Another welcome addition is specific categories to support structures such as bridges and tunnels. These new categories have been created to support workflows with Autodesk Infraworks but I am sure will be put to good use with all sorts of structures. In the past I have been using the generic model category with subcategories for items such as bearings, abutments etc. However, in testing I did not see a method of creating your own families and applying these categories. Hopefully this was just a glitch!

Revit 2021 - Infrastructure Bridge Workflows

Anyway, let’s move on to the new and improved structural features of Revit 2021! I will break this down into two separate areas, concrete and steel.

Concrete New Features and Improvements

I don’t think a single release has passed when a new feature or improvement for rebar has not been implemented and the same is true for this release. Let’s start with the improvements to shape codes. Autodesk have now implemented a method of generating shape code 98 (the chair) which will be very useful for contractors and some consultants that want to show this detail. In the image below you can see two chairs placed to separate the top and bottom layers of rebar.

Revit 2021 - Shape Code 98 - Chairs

The new shape is part of the structural template that is shipped with Revit 2021 but you can easily make the new shape be overriding the hook lengths. Autodesk have now configured all rebar shapes to have a rotatable hook that can be overridden for each instance. In the image below you can see Shape Code 98 in the shape browser.

Revit 2021 - Shape Code 98

Lets now move on to an improvement to an existing command, rebar constraints. You can now place and edit multiple rebar constraints in the same command. For example, if you are constraining the new chair to the top and bottom layers and also constraining the width of the chair, this can now be achieved in the same constraint command. A huge improvement.

Revit 2021 - Place Multiple Rebar Constraints

Fabric reinforcement has also been improved by having the same view visibility states as ‘standard’ rebar. This means that you can now view the fabric reinforcement as solids in 3D. Another issue with older releases was that the fabric would not display correctly when viewed in section. The fabric now sections and behaves perfectly in all views! In the example below, you can see the fabric viewed as a solid with flying ends displayed.

Revit 2021 - Fabric Sheet Reinforcement

Steel New Features and Improvements

The steel tools had a huge leap in the last two releases, strengthening the ability to place standard connections, design the connections to EC3 and create custom connections. To really make a useful set of tools for steel fabricators, who will get maximum use from the connection tool, Autodesk need to implement a documentation tool like Advance steel for the production of drawings and CNC code for the machine tools. Whilst we can transfer the Revit model to Advance Steel for fabrication, in reality, many fabricators will not want to take on the risk of directly using the consultant’s model.

However, there are a few new steel modelling tools that will help with the production of drawings for consulting engineers.

Revit 2021 - Structural Stiffeners

Stiffeners can now be placed using the same style of connection tool. You can place a single stiffener at a point or place multiple stiffeners along beams or down columns. In the image below you can see the new connection type.

Revit 2021 - Structural Stiffener

To allow correct documentation of the setting out of stiffeners, Autodesk have implemented the ability to dimension to plate centres. This will allow the stiffeners to be set out and dimensioned as below.

Revit 2021 - Dimension Stiffeners from Plate Centre

All in all another strong release for Revit, particularly for the concrete workflows and interchangeability with infrastructure.

LawrenceH

Revit Tutorial – Back to Basics – Creating Structural Content for Revit

It’s always a good idea to review the basics of what we do daily just in case we are missing a trick! It is all too easy to do the same as we did last week, last month, last year… In this post we look at some basic structural elements and consider how custom Revit content could be created to save time and make detailing more consistent and robust.

I often think of Revit as a digital Lego set, you have a certain number of pieces to assemble a structure, but the limitation is the variety of ‘bricks’ that are provided. For example, the three bricks below can only build simple, box like structures.

Revit Lego Bricks

The great thing with Revit is that we can create our own parametric families that are either bespoke to a project or for use in many projects. The custom families give Revit the flexibility needed to create any type of family with fast and efficient placement into projects.

Revit Lego Bricks Complex

A simple example to start with is the humble pile family. All too often, the default out of the box single pile, Pile-Steel Pipe.rfa is used for most projects. Whilst this is perfectly functional for most applications it may not deliver the best output and placement options. For example, the two images below show some typical ways of depicting piling in a plan view. The first image is perhaps appropriate when showing a piling layout, ideal for scales 1:100 where the pile may want to be displayed as a symbolic symbol. The second is useful for general arrangement plans and shows the pile in hidden detail under the pile cap. You can also see the pilling on the third image displaying the hidden detail for the embedment and the break symbol to curtail the full piling length.

Revit Foundation Details

The default pile family, when opened in the family editor, shows us the default Reference Planes which only run through the centre of the pile. This means that you cannot dimension the pile in elevation in a project. The default method of placement is to place the pile on a plane which is quite slow when multiple levels are required. The other issue is that you cannot snap a spot coordinate to the centre of the pile! This is simply due to the default family’s behaviour.

Revit Pile Steel Pipe

Once the piles are placed you will need to detail these manually in a section or elevation with the break symbol. If the pile moves, you will need to also move the details! Whilst you may eventually get the model and detail created it is far more efficient to create better content.

So, how can we make this more efficient?

One method is to create a face-based pile with all the relevant detailing built in. This will mean that if the pile cap, ground beam or foundation slab changed level the piles will automatically move. The 2D details such as the symbolic view and pile break symbol are automatically added as the piles are modelled. You will also be able to snap a spot coordinate onto the centre of the pile with confidence.

You can start by creating a new family using the Metric Generic Model face-based Revit family template. There are quite a few steps when creating the family, so I have provided a video with step by step instructions for the creation of the pile family. Feel free to use this example as a starting point, obviously you can add your own functionality and graphics as required.

You can make improvements to many of the default families which will save time, increase your detailing efficiency and improve drawing consistency.

LawrenceH