Тёмный

Copy elements between Revit documents using pyRevit! 

Aussie BIM Guru
Подписаться 48 тыс.
Просмотров 4,4 тыс.
50% 1

Another pyRevit video today, enjoy!
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:29 Transfer project standards
3:05 Toolbar setup
4:30 Libraries and document to
5:40 Get document from
9:45 Get view templates
12:29 Sort view templates by name
14:48 Select view template UI
20:12 Copy elements between documents
24:58 Testing the output
27:06 Outro
Learn more about pyRevit at:
www.notion.so/pyRevit-bd907d6...
Software used;
Autodesk Revit 2020: www.autodesk.com/products/rev...
pyRevit: github.com/eirannejad/pyRevit
Notepad ++: notepad-plus-plus.org/downloads/
DaVinci Resolve: www.blackmagicdesign.com/au/p...
OBS: obsproject.com/
Hardware used;
Webcam: support.logitech.com/en_us/pr...
Laptop: www.msi.com/Workstation/WT75-...
Microphone: www.bluemic.com/en-au/product...
#revit #pyrevit #python

Опубликовано:

 

5 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 26   
@FinArt119
@FinArt119 3 месяца назад
Thanks man! Previous times, I was use Revit Transfer to an Empty project and then delete all that unnecessary before transfer another time to the target Document. There are a lot of things Revit can do better!
@AussieBIMGuru
@AussieBIMGuru 3 месяца назад
Yep that's my old approach too!
@facelessone86
@facelessone86 11 месяцев назад
As someone just getting into this I would like a video going over multiple examples of when to use "DB". It always makes since in your tutorials but when I get to actually making my own stuff I find myself wondering when it is needed.
@AussieBIMGuru
@AussieBIMGuru 11 месяцев назад
In principle it is whenever you refer to a Revit API class directly. Off the too of my head I can't think of any other use case for DB besides having to import it originally. It may be worth watching my more introductory content around pyrevit in the playlist where I talk about things like this more.
@toothbrush4022
@toothbrush4022 10 месяцев назад
Just keep watching and replicating. Try simple tasks of accessing your own model and read the warnings when they come up. I had the same question about 1 year ago when I first delved into pyrevit, and python in general. Search 'Object Oriented Programming' python tutorials as well. Then, constructors and methods start to make a little more sense.
@kslifter1
@kslifter1 Год назад
Great video! I can't wait to take this and use it for other items in Revit as well. The fact that Transfer Project Standards brings over everything has always been frustrating.
@AussieBIMGuru
@AussieBIMGuru Год назад
Thanks! Glad it proved helpful.
@toothbrush4022
@toothbrush4022 10 месяцев назад
Really neat use of lambda. I need to remember that one. Thank you!
@AussieBIMGuru
@AussieBIMGuru 10 месяцев назад
You're welcome! Yes I use this a lot, very handy.
@christopheragbodzahmakafui12
Thanks
@AussieBIMGuru
@AussieBIMGuru Год назад
You're welcome!
@121alam121
@121alam121 Год назад
Hi Gavin! thank you for sharing your wisdom. is there a way in Revit to create a parent-child relationship between 1 element and multiple elements(through element ids etc.) without making systems? for example, a data panel connecting to multiple data devices and share information without creating a data system because the native data system has many limitations and is not like an electrical system. once again thank you for your content.
@AussieBIMGuru
@AussieBIMGuru Год назад
As far as I know aside from the relationals Revit provides for systems, the only way alternatively is to develop custom solutions to push/pull/extract data from elements with common identifying data such as a parameter value.
@user-kj8mf9yp5l
@user-kj8mf9yp5l Год назад
can we use for copying families between projects ?
@AussieBIMGuru
@AussieBIMGuru Год назад
For this task i generally instead use the open and load family commands.
@rik0904
@rik0904 Год назад
copy like that is good way to import PipeTypes from one documents to another. usually firm have templates with PipeTypes, and all elements are draw in template, i just copy all pipes(witch trigger copy of PipeType and all fitting belonge to it) and remove them. All of this is because copy PipeType don't get us fitting that this type use.
@AussieBIMGuru
@AussieBIMGuru Год назад
Yes shopping files are a good way to do this if the users can find the objects to copy. The benefit of the pyrevit approach is the user sees all types even if they cant find them in the shopping model.
@roycasumpang8244
@roycasumpang8244 3 месяца назад
Thanks for the awesome video. Just wondering if it is possible to do this even without opening the project where you will need to copy the elements from.
@AussieBIMGuru
@AussieBIMGuru 3 месяца назад
Not that i am aware of unfortunately. You could programatically open the model in background though and do this then close programatically.
@roycasumpang8244
@roycasumpang8244 3 месяца назад
@@AussieBIMGuru Thanks for your response. Your suggestion works. I was aiming to copy the drafting views to bring in our typical details from a library file to a project file but it was all empty views. I think I should have included the CopyElements method as well and also need to workout that it will paste in the correct views in the destination doc. Thanks again.
@AussieBIMGuru
@AussieBIMGuru 3 месяца назад
@@roycasumpang8244 yes you would need to get all elements in the source view, make a new drafting view and copy those elements into the target view i think.
@rezwanulhoque117
@rezwanulhoque117 8 месяцев назад
How to add prefix or suffix or rename room in pyrevit?
@AussieBIMGuru
@AussieBIMGuru 8 месяцев назад
par = element.LookupParameter("Name") par.Set("Value") should do the trick.
@rezwanulhoque117
@rezwanulhoque117 8 месяцев назад
@@AussieBIMGuru ok thanks, but still not working.
@AussieBIMGuru
@AussieBIMGuru 8 месяцев назад
Best to go to pyrevit forums to get detailed troubleshooting.
@rezwanulhoque117
@rezwanulhoque117 8 месяцев назад
@@AussieBIMGuru ok, got it
Далее
Unlocking the power of pyRevit! (Webinar)
49:38
Просмотров 8 тыс.
Making a pyRevit toolbar!
22:17
Просмотров 15 тыс.
skibidi toilet zombie universe 37 ( New Virus)
03:02
Просмотров 1,5 млн
Symmetrical face⁉️🤔 #beauty
00:15
Просмотров 2,3 млн
How to Use the Selection Panel in pyRevit | Revit
28:09
Find and report CAD objects using pyRevit!
25:39
Просмотров 2,4 тыс.
pyRevit - The Ultimate Guide (Live) w/Ehsan
1:08:21
Просмотров 55 тыс.
Corner window family in Revit!
21:01
Просмотров 4,5 тыс.
BIM roles and career pathways - how to 'get into BIM'
30:13
Worksharing in Revit and Central Files
26:11
Просмотров 44 тыс.