Revit Snippet: Instantly Delete Views Not on Sheets but Keep Parent Views

  Рет қаралды 1,586

RV Boost

RV Boost

Күн бұрын

Пікірлер: 8
@TheCADiva
@TheCADiva 5 ай бұрын
A note for others using this: in addition to Views that are not on sheets, this also removes ALL View Templates (since they don't have a Sheet Number parameter). Not a big deal when you're archiving or sending to others, but it did make for some extra work to restore the VTs when I ran it on a file I didn't want to. One of those rare times I wish I knew Python coding so I could add that exception to the script.
@RVBoost
@RVBoost 5 ай бұрын
Sorry about the deleted view templates! That was indeed an oversight on my part. If you use the RV DeepClean plugin mentioned in the video, the view template will be safe. If you prefer to stick with Python though, simply add this to line 56 of the Python node to exclude view templates from deletion: if v.IsTemplate: continue
@HippieP629
@HippieP629 7 ай бұрын
Thank you so much for this video. Is it possible to add user initials with a dash after the view name like "VIEW NAME - AZ", for instance, to the "don't delete" list??
@RVBoost
@RVBoost 7 ай бұрын
Yes, Python can do that! Just search for "regular expression in Python" to see how you can add that logic to the script. I'll also add this as a new feature to RV Deep clean soon, so thanks for the idea! 😀
@HippieP629
@HippieP629 6 ай бұрын
@@RVBoost So after opening your downloaded file in dynamo, the only thing I changed in the Python script node on line 48 was ["do not delete", "important view", "level 1 - mp", "level 1 - st", "level 1 - yz"] I get Warning: IronPythonEvaluator.EvaluateIronPythonScript operation failed. Traceback (most recent call last): File "", line 92, in Exception: One or more of the elementIds cannot be deleted. Parameter name: elementIds Line 92 is tr.Commit() I'm brand new to python and don't know how to correct this. Thanks
@RVBoost
@RVBoost 6 ай бұрын
The error suggests it couldn't delete some elements. These are probably system elements that Revit protects. You can try to delete elements one by one to see which item caused the error.
@varvara.g
@varvara.g Жыл бұрын
Hi! The link with dynamo script doesn't work - I subscribed but didn't receive file
@RVBoost
@RVBoost Жыл бұрын
Sorry about that. If you have checked your spam/promotion folder and still can't see it, please email support@rv-boost.com so I can send you the file.
Renumber Revit Sheets Using Dynamo
21:27
ArchSmarter
Рет қаралды 30 М.
Align Revit views on sheets in Dynamo Tutorial
13:41
Sergey Dunaev
Рет қаралды 9 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
10 Tools Every Revit Beginner Should Learn - Revit Beginner Tutorial
20:50
How to Create Exoskeleton Facade In Revit By SK Architect
23:08
SK Architect
Рет қаралды 4,5 М.
Hide sections not used in sheets (Unwanted sections / Unused sections)
3:46
RAJAN Revit BIM Learning Group
Рет қаралды 10 М.
HOW GOOD WAS PELÉ?
18:28
Gustavo Marques
Рет қаралды 3,9 МЛН
Revit Snippet: Batch-Delete All Empty Tags
14:37
RV Boost
Рет қаралды 1,5 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН