# Revit Dynamo Script for Batch View Template & Filter Management

**URL:** <https://forum.dynamobim.com/t/revit-dynamo-script-for-batch-view-template-filter-management/107869>\
**Category:** Revit\
**Tags:** revit, dynamo\
**Created:** [February 10, 2025, 5:02pm UTC](https://forum.dynamobim.com/t/revit-dynamo-script-for-batch-view-template-filter-management/107869 "2025-02-10T17:02:09Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![t.schluesselberger](https://avatars.discourse-cdn.com/v4/letter/t/9dc877/32.png) [@t.schluesselberger](https://forum.dynamobim.com/u/t.schluesselberger)\
**Post date:** [February 10, 2025, 5:02pm UTC](https://forum.dynamobim.com/t/revit-dynamo-script-for-batch-view-template-filter-management/107869/1 "2025-02-10T17:02:09Z")

</div>

Hello!

I’m fairly new to Revit and only have basic knowledge of Dynamo.

I’m looking for a Dynamo script that does the following:

- Query which views should be used (several should be selectable)
- Query which view template should be activated in these views
- Query whether the filter “NAME XYZ” should be activated/deactivated in the respective views (there are already other filters in the views, the status of those should not change)
- Script ends, the view templates are now correctly set in the views and the filter is activated/deactivated depending on the selection i made

Maybe there is already a similar script that I can adapt myself, if someone wants to create exactly this script I would be very grateful.

If there are any questions regarding my request, I will be happy to answer them.

---

<div class="post-metadata">

**Author:** ![Hamish](https://avatars.discourse-cdn.com/v4/letter/h/a5b964/32.png) [@Hamish](https://forum.dynamobim.com/u/Hamish)\
**Post date:** [February 10, 2025, 9:04pm UTC](https://forum.dynamobim.com/t/revit-dynamo-script-for-batch-view-template-filter-management/107869/2 "2025-02-10T21:04:23Z")

</div>

This forum is for helping people build scripts themselves rather than asking for someone to do it all for you.

I’m 99% sure there is a [PyRevit](https://discourse.pyrevitlabs.io/) extension that has a tool that does this if you want an out-of-the-box solution.

---

<div class="post-metadata">

**Author:** ![t.schluesselberger](https://avatars.discourse-cdn.com/v4/letter/t/9dc877/32.png) [@t.schluesselberger](https://forum.dynamobim.com/u/t.schluesselberger)\
**Post date:** [February 11, 2025, 5:12pm UTC](https://forum.dynamobim.com/t/revit-dynamo-script-for-batch-view-template-filter-management/107869/3 "2025-02-11T17:12:41Z")

</div>

Hi!

Do you remember what the name of the [PyRevit](https://discourse.pyrevitlabs.io/) extension was?  
I can’t find it, or any similar extension.

I know it’s pretty cheeky to just ask if someone can do it for me, but I don’t know enough to do it myself with just hints. So I’m hoping for a friendly guy 🙂

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [February 11, 2025, 5:26pm UTC](https://forum.dynamobim.com/t/revit-dynamo-script-for-batch-view-template-filter-management/107869/4 "2025-02-11T17:26:55Z")

</div>

[How to get help on the Dynamo forums - FAQ - Dynamo](https://forum.dynamobim.com/t/how-to-get-help-on-the-dynamo-forums/4677)

> [@t.schluesselberger](#):
>
> I don’t know enough to do it myself with just hints

That’s why it’s worth learning. The [Dynamo Primer](https://dynamoprimer.com) is your best option for getting started and learning the basics. Data-Shapes is a good package to build your custom UI, but you’ll want to start with just modifying views and view templates. There are tons of threads here that can help you with that. Start by looking at some of those and see how far you can get. We can answer any specific questions you may have.

---

<div class="post-metadata">

**Author:** ![aaron\_rumple](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@aaron\_rumple](https://forum.dynamobim.com/u/aaron_rumple)\
**Post date:** [February 11, 2025, 9:12pm UTC](https://forum.dynamobim.com/t/revit-dynamo-script-for-batch-view-template-filter-management/107869/5 "2025-02-11T21:12:39Z")

</div>

> [@t.schluesselberger](#):
>
> Do you remember what the name of the [PyRevit](https://discourse.pyrevitlabs.io/) extension was?

[pyRevit](https://discourse.pyrevitlabs.io/) is [pyRevit](https://discourse.pyrevitlabs.io/).  
It is its own thing. And super cool.  
[https://pyrevitlabs.notion.site/](https://pyrevitlabs.notion.site/)

---

<div class="post-metadata">

**Author:** ![t.schluesselberger](https://avatars.discourse-cdn.com/v4/letter/t/9dc877/32.png) [@t.schluesselberger](https://forum.dynamobim.com/u/t.schluesselberger)\
**Post date:** [February 12, 2025, 12:36pm UTC](https://forum.dynamobim.com/t/revit-dynamo-script-for-batch-view-template-filter-management/107869/6 "2025-02-12T12:36:09Z")

</div>

Well i installed [pyRevit](https://discourse.pyrevitlabs.io/) but i cant find something to do the things i want.  
I thought there would be an extension for [pyrevit](https://discourse.pyrevitlabs.io/) which does that?

---

<div class="post-metadata">

**Author:** ![t.schluesselberger](https://avatars.discourse-cdn.com/v4/letter/t/9dc877/32.png) [@t.schluesselberger](https://forum.dynamobim.com/u/t.schluesselberger)\
**Post date:** [February 12, 2025, 12:37pm UTC](https://forum.dynamobim.com/t/revit-dynamo-script-for-batch-view-template-filter-management/107869/7 "2025-02-12T12:37:50Z")

</div>

Hi,

yes i know it`s worth learning. My problem is that i currently find the time to do that and just want an “fast” result. But thans for the Dynamo Primer link, seems helpfull. Gonna look at it soon.

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [February 12, 2025, 1:56pm UTC](https://forum.dynamobim.com/t/revit-dynamo-script-for-batch-view-template-filter-management/107869/8 "2025-02-12T13:56:41Z")

</div>

> [@t.schluesselberger](#):
>
> My problem is that i currently find the time to do that and just want an “fast” result

If you had to design a functional nuclear submarine into your next project you likely wouldn’t look for a fast result, but would either learn how to design a nuclear submarine or hire a nuclear submarine designer for that part. Automating Revit is no different (though with smaller stakes).

---

<div class="post-metadata">

**Author:** ![aaron\_rumple](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@aaron\_rumple](https://forum.dynamobim.com/u/aaron_rumple)\
**Post date:** [February 12, 2025, 2:25pm UTC](https://forum.dynamobim.com/t/revit-dynamo-script-for-batch-view-template-filter-management/107869/9 "2025-02-12T14:25:07Z")

</div>

> [@t.schluesselberger](#):
>
> My problem is that i currently find the time to do that and just want an “fast” result.

You can have it fast. You can have it cheap. You can have it done well.  
You can only have two.  
You want all three. Speed == money.

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [February 12, 2025, 2:35pm UTC](https://forum.dynamobim.com/t/revit-dynamo-script-for-batch-view-template-filter-management/107869/10 "2025-02-12T14:35:25Z")

</div>

> [@jacob.small](#):
>
> design a functional nuclear submarine

hehe great example, but dont hope folks use revit for that 😉 😉
