Thursday, 21 January 2016

Autocad block positions to Revit with Dynamo

Playing around a bit with dynamo after a question. The question was about getting coordinates of boreholes into Revit. Ofcourse you could link the file and start placing families yourself. But that is no fun.

I did the following.
A data extract from Autocad to excel and a script in Dynamo to place families in Revit.

Blocks in Autocad
Data extract steps Autocad
Data extract steps Autocad
Data extract steps Autocad
Data extract steps Autocad
Excel fil
Dynamo Script
Revit family placed in a project
The script was easy. The most difficult part of this exercise was getting excel and Dynamo to deal with my regional settings.

Updated version of previous script: Place the same blocks while respecting the shared coordinates entered in the Project basepoint. Basically subtract project base point values from the values from the excel file. 

Below a link to files I have used:
files


Google+ Badge