Using Python libraries in pyRevit and Dynamo!

preview_player
Показать описание
Today we learn a handy technique in Python generally, but also very much applicable to pyRevit and Dynamo!

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.

0:00 Intro
1:37 Setting up pyRevit tool/lib
3:26 Writing functions to our library
6:17 Function to check for legal strings
8:02 Use our library/function in pyRevit
9:16 Function to clean illegal strings
12:10 The case for using libraries
13:06 Use our library/function in Dynamo
15:09 Outro

Learn more about pyRevit at:

Software used;

Hardware used;

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

On my way to cleanup the code repository and putting reusable code in lib folder🏃‍♂

smitbangare
Автор

Hi Gavin! Yeah custom libs are cool, but there's more big question with it. What if you need to use not standard py libs? For example, pandas or smth else?

denisdetrov
Автор

Hi Gavin, can you please share your export excel util for pyRevit.

anishnaicker
Автор

Thank you Gavin.
I see you work often with list to export data. Is it all at possible to convert it to a dataframe for easier manipulation and adding of columns etc? Using pandas
I hope I made sense!
Kind regards Bram from The Netherlands

petsandpaws
welcome to shbcf.ru