Revit and Dynamo Tutorial – Placing family instances at world coordinates

Clients have asked me during the years I've spent teaching Revit, if there is a tool that can place a Revit family at a world coordinate that might have been given by a contractor or a surveyor. This is a simple operation with AutoCAD because everything is modeled using the World Coordinate System, or WCS. You simply type in the easting and northing. However, Revit’s coordinate system for placing families uses the internal origin, which will not be the real-world coordinate. We also must consider the possible rotation of the site in relation to the project north.

Using Autodesk Dynamo to convert the coordinate system and position a chosen family at the coordinates is a straightforward solution. I've been meaning to make a tutorial for a while, and I've finally gotten around to it! Dynamo Player is the most effective tool for placing the families, but if a specific set of families are needed from a list, we can also read a text file, comma separated file, or Microsoft Excel.

I've included a picture of the entire Dynamo Script above, but I'll walk you through each of the groups as well.

Getting the project base point built in with parameters that obtain the East/West, North/South, and Angle to True North is the initial stage. This way works better because although there is a node that can retrieve the data directly, it won't update or refresh.

The next step is to create the Easting and Northing inputs. These values are then subtracted from the Project Base Point to create a coordinate system.

We can now create another coordinate system at the internal origin of Revit and then rotate this system to take into account the project north rotation. Following that, the family instance is then placed at the coordinate system. The Dynamo script should ideally be executed within Dynamo player to allow for multiple coordinates and families to be placed simultaneously.

If you need to insert multiple families at the world coordinates, you can create a dynamo script that reads a series of coordinates that are stored in Microsoft Excel or a simple comma separated file.

 

 

Blog

Paths to Net Zero: Insights for Sustainable AEC

10 December 2024

As the built environment sector accounts for nearly 40% of global CO₂ emissions, achieving net-zero carbon has evolved from aspiration to necessity. In response, Symetri hosted the Paths to Net Zero: Insights, Technologies, and Solutions webinar series in September 2024. This article distils key takeaways from the series, offering a snapshot of challenges, trends, and impactful approaches shaping the future of decarbonization in the AEC industry. 

Learn more
Blog

What is an LCA? 3 Examples of Life-Cycle Assessments in Building Projects

12 November 2024

A Life-Cycle Assessment (LCA) is a powerful tool used to measure the complete environmental impact of a building project. It evaluates the carbon footprint and other environmental effects throughout a building's life, across four key stages: production, use, end-of-life, and beyond. Below are three examples of how LCAs can guide decisions for more sustainable building projects.

Learn more