Mechanical from scratch using Dynamo [Part 3]

fromcadtorevit-02

On this post we’ll use the location of the diffusers in the cad to place them in the revit files.

First we need to retrieve the coordinates of the diffusers block by using data extraction command

extract1extract2extract3

The same as in the ducts, we need to filter the result before extracting in order to obtain just the x,y and z coordinates. As the cad file is 2D z will be zero. Save the file as csv to simplify dynamo’s reading.
Once in dynamo, we will read the string from the csv file and then split it as a list using commas and line brake.

Dynamo placing the diffusers
Dynamo placing the diffusers

This specific dynamo file – put together by V. Noves – uses the node FamilyInstance.ByPoint to place a diffuser on each point from the cad file.

Now you only need to place all diffusers at the ceiling height.

To be continued…

Leave a comment