Read Revit file versions using Python (without opening Revit)!

preview_player
Показать описание
Sharing a pretty disjointed/funky workflow today that I came across and put a few things together for recently - checking Revit file versions using a Python IDE and no need for Revit itself!

0:00 What we will build
1:37 Setting up pyCharm, future and Tkinter
3:20 Scripting begins
3:53 File selection dialogue
8:28 Checking Revit file formats
14:44 Get file path formats
16:03 Isolate version number
18:54 Message to user
20:44 Setting up registry
24:50 Running the tool
25:44 Outro

References that helped me:

I hope you enjoy the session and learn something new! Feel free to comment any feedback/questions below, or follow my channel if you enjoyed this.

Software used;

Hardware used;

#revit #python #bim
Рекомендации по теме
Комментарии
Автор

People don't say it often. But you are one of the best..since years.

Thank you.. thank you and thank you.🙏👍

dgkartik-cs
Автор

Perfect timing to help with the latest 2024.1 schema bugs!…. Which I may have upgraded a couple of projects too… 🤦‍♂️

LSArchirects
Автор

I actually created a very simple script that you can run in powershell that will do the same thing and export everything to an excel file, it does so by scanning the actual code of the file, similar to opening it up in Notepad, and searched for a particular string. Unfortunately this only works with rfa files but it's been a great help in cleaning up our content.

costas
Автор

Great video!
Is it possible to access the actual revit database this way to batch check the views' properties or some built-in parameters of some revit elements?

debaron
Автор

sorry for stupid questions, do you have this in opensource? i need to extract information, such as components, sizes and materials from .rvt file in python

miapepe
Автор

hmm, I came accross some project files that have built: [wrong year or last date modified] and format: [correct year] 😞, is there a workaround for parsing the binary file in this case? Thank you

KervinCalero
Автор

I actually have a question that's not related to these video,
When i Add formula to the parameters using instance parameters, there would be an error, it said that the family is a type driven family and connot be driven by instance parameters. How do i fix this and turn it into instance driven parameter.

angellerismestooreey
welcome to shbcf.ru