Export Data to csv files from Revit using Python

Export Data to csv files from Revit using Python

ying_caiCUHMV
Participant Participant
1,793 Views
5 Replies
Message 1 of 6

Export Data to csv files from Revit using Python

ying_caiCUHMV
Participant
Participant

Hi Community,

 

Does anyone know ways/references to export Revit elements data to a csv file using Python? either inside Revit program or without opening the program. I wonder how to make it work both ways. Thank you so much!

0 Likes
1,794 Views
5 Replies
Replies (5)
Message 2 of 6

Yien_Chao
Advisor
Advisor

@ying_caiCUHMV  did you start some coding?

0 Likes
Message 3 of 6

ying_caiCUHMV
Participant
Participant

Hi @Yien_Chao 

 

yes. I was able to generate all parameters of one piece of element from Revit and ran the code in RevitPythonShell. Now, I'm trying to generate the data out as CSV files and searching ways to run the code either with opening the Revit program or without opening the program. 

 

ying_caiCUHMV_0-1687966383846.png

 

0 Likes
Message 4 of 6

Yien_Chao
Advisor
Advisor

sorry, i only code in python inside dynamo.

0 Likes
Message 5 of 6

ying_caiCUHMV
Participant
Participant

I know there is a way to export data into a csv in Dynamo. But as for now I'm trying to transit from dynamo to revit api. Appreciated your replies.

0 Likes
Message 6 of 6

Yien_Chao
Advisor
Advisor
0 Likes