Тёмный
No video :(

Unhide all elements in View using Dynamo, Revit API and Python! 

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

Today we unhide all those pesky hidden elements!
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
01:28 Sample model
02:21 Set up run modes
03:40 Boilerplate
05:50 Temporary view modes
07:29 Enable/disable view modes
10:55 Get hidden elements
14:35 Select or unhide elements
20:10 Testing script
22:00 Dynamo player
23:20 Outro
Learn more about Dynamo at;
primer.dynamobim.org/
Software used;
Autodesk Revit 2024: www.autodesk.com/products/rev...
Dynamo: dynamobim.org/
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.jbhifi.com.au/products/ro...
Audio interface: focusrite.com/en/usb-audio-in...
#revit #dynamo #bim

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

 

5 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 26   
@marwanbeaino5377
@marwanbeaino5377 5 месяцев назад
Great Content !! More of this please !
@AussieBIMGuru
@AussieBIMGuru 5 месяцев назад
Thanks Marwan!
@abbasafsar2515
@abbasafsar2515 5 месяцев назад
Always a great video Gavin =)
@AussieBIMGuru
@AussieBIMGuru 5 месяцев назад
Thanks!~ :)
@engjamaaoui8343
@engjamaaoui8343 5 месяцев назад
Thanks!
@AussieBIMGuru
@AussieBIMGuru 5 месяцев назад
You're welcome!
@marcdenheijer606
@marcdenheijer606 5 месяцев назад
Hi Gavin, does this one also work on call-out views? Tried something similar in Dynamo (not using python), where the call-out didn't report correctly the elements hidden it that view, but only reported the elements hidden in the view where the call-out was based on.
@AussieBIMGuru
@AussieBIMGuru 5 месяцев назад
Yes it should work on any view if it is active view.
@debaron270602
@debaron270602 5 месяцев назад
Hello Gavin, it would be great if you make a video about Saving a New Central File to Revit Server using Dynamo. There is a C# code on thebuildingcoder blog, but nothing about how to make the same using Dynamo. Thanks for your videos!
@AussieBIMGuru
@AussieBIMGuru 5 месяцев назад
Unfortunately these days I don't really use Revit Server, just ACC/BIM360. Don't have access to a testing environment as a result... maybe check with Dynamo forums. Some of the API on the example by Jeremy doesn't appear to be Revit API specific so I suspect it might not be as simple as this to do in Dynamo vs C#. The setup guide is available here for Revit server generally if it helps (old version, but same gist): www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/How-to-install-and-configure-Revit-Server-2014-or-2015.html
@Tomuki27
@Tomuki27 5 месяцев назад
Hi Gavin, excellent video as always and so so useful script. I followed your video and it works. We do have a model where we've linked the individual buildings and it's a nightmare to unhide the hidden elements within the links. Is there a way we could modify the script to search into the links as well? At the minute it counts the link itself as an element. Many thanks.
@AussieBIMGuru
@AussieBIMGuru 5 месяцев назад
Unfortunately I believe the Revit API does not have the ability to hide/unhide linked elements. Best just hammer into user's minds never to do it! A thread discussing the issue: forum.dynamobim.com/t/unhide-hidden-linked-element And another: forum.dynamobim.com/t/unhide-elements-in-link/37793
@Tomuki27
@Tomuki27 5 месяцев назад
Ah, thank you, I see. I'm just starting with Dynamo and I haven't contemplated APIs much yet. If we are able to select the elements within a linked model by tabbing, is there a way we could replicate that action with a Dynamo node or script? Aren't we able to replicate all actions we can do manually in Revit using Dynamo? One suggestion for a Dynamo script I would find useful is selecting levels or grids and swapping their extents from 2D to 3D and vice versa. Also locking/unlocking their ends to adjust individually, and turning grid/level heads on or off at each end. This could save a lot of time.
@AussieBIMGuru
@AussieBIMGuru 5 месяцев назад
Unfortunately not. Revit was written a long time ago before programmers gave API's to developers to work with. As a result a lot of what is possible in Revit is not possible for us to use in development. Another example is that until Revit 2022 we could not programmatically make floors with holes in them, or even ceilings at all. Links have little API exposure for the most part, for example we still have no way to set custom link VG override settings. The API for grid head on/off and 2D/3D is fairly straightforward, but unfortunately I likely can't make a video for it specifically as I am developing a toolkit of this nature for the firm I work at currently. These are the API references that can help here though: Set extent type (2D/3D): www.revitapidocs.com/2024/6509627e-dda7-4d3d-eddf-4ed462a1f68c.htm Hide datum bubble: www.revitapidocs.com/2024/1349dc55-fbac-f114-f94d-42fc5fc10b1f.htm
@KervinCalero
@KervinCalero 4 месяца назад
I'm using a working script that can get text visible inside a cropped view even if the text is at the crop boundary (which is hidden by the crop). The problem is if I close and re-open the script it then only gets the text that is actually visible in the view (no text in boundary). I've used several filters but I get the same weird behavior. Still need to test your script but something I noticed.
@AussieBIMGuru
@AussieBIMGuru 4 месяца назад
So this script generally will only unhide elements which have been manually hidden by the user intentionally. If a text note is automatically hidden by the crop extent then it would not be unhidden by the script - I'm unsure there is any way to override that except to expand the annotation crop or disable it temporarily when running the routine first (the API can do this).
@KervinCalero
@KervinCalero 4 месяца назад
@@AussieBIMGuru That's correct. I was able to set the annotation crop para on/off inside a TransactionGroup and it worked. Thank you
@denisdetrov8362
@denisdetrov8362 5 месяцев назад
Hi Gavin! Ive recently had a discussion about one exotic topic - strategy of software updates in a company. Like every company has this document and every year updates Revit to a new version. My question is - is it true, that all modern (as he said) western companies create such strategy and update Revit every year?
@AussieBIMGuru
@AussieBIMGuru 5 месяцев назад
Some firms skip a version if they can and choose a 'home' build to start new jobs in, but we usually work with clients and engineers that force us to be in many versions at once (e.g. some clients require latest build). At Architectus where I work we use Microsoft Intune to automate deployment of updates wherever possible.
@denisdetrov8362
@denisdetrov8362 5 месяцев назад
@@AussieBIMGuru Thank you very much! By the way I've seen you on recent podcast on bim pure, so are u gonna move to c# this year?
@AussieBIMGuru
@AussieBIMGuru 5 месяцев назад
@denisdetrov8362 already using it on my side but I'm not sure I will make the channel focus on it as it is very advanced. Too much to fit in my type of videos as the fundamentals of C are quite unique.
@denisdetrov8362
@denisdetrov8362 5 месяцев назад
@@AussieBIMGuru is it worth to move to c# from python?
@AussieBIMGuru
@AussieBIMGuru 5 месяцев назад
It depends what you are doing. If you want to protect/sell apps then it is worth it, and if you want faster/larger scale then it is also. Pyrevit and python can achieve a lot on their own orherwise.
Далее
Create room plans using Dynamo, Revit API + Python!
38:00
Разоблачение ушные свечи
00:28
Просмотров 504 тыс.
Symmetrical face⁉️🤔 #beauty
00:15
Просмотров 2,3 млн
Store and re-open Revit views using pyRevit!
16:47
Просмотров 1,4 тыс.
Good APIs Vs Bad APIs: 7 Tips for API Design
5:48
Просмотров 225 тыс.
The moment we stopped understanding AI [AlexNet]
17:38
Просмотров 852 тыс.
'Nuke' Revit models using Dynamo, Python + Revit API!
27:38
Deep Dive Into the Repository Design Pattern in Python
11:56
Project Revit floors to topography using Dynamo!
32:24
Dynamo: Sections By Curve (Part 1)
21:53
Просмотров 2,1 тыс.
Разоблачение ушные свечи
00:28
Просмотров 504 тыс.