# Batch assigning linked views to floor plans

**URL:** <https://forum.dynamobim.com/t/batch-assigning-linked-views-to-floor-plans/3005>\
**Category:** Revit\
**Created:** [January 22, 2016, 10:53am UTC](https://forum.dynamobim.com/t/batch-assigning-linked-views-to-floor-plans/3005 "2016-01-22T10:53:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nikolay\_Gerasimov1](https://avatars.discourse-cdn.com/v4/letter/n/eb8c5e/32.png) [@Nikolay\_Gerasimov1](https://forum.dynamobim.com/u/Nikolay_Gerasimov1)\
**Post date:** [January 22, 2016, 10:53am UTC](https://forum.dynamobim.com/t/batch-assigning-linked-views-to-floor-plans/3005/1 "2016-01-22T10:53:22Z")

</div>

Typical task for MEP models: we need to see Architectural and Structural models by “Linked views”. So, for each level we have one view in the linked model which should be associated with ALL floor plans on that level in our model.

We could do that using Archi-Lab node “Apply View Template”, but in this case we would overwrite ALL graphical settings, while we need to control only Revit links appearance.

To apply only settings which are not controlled by current view template we use View.ApplyViewTemplateParameters method instead of assigning a template by ID as it’s done in Konrad’s node.

So, the logic is quite straight forward:

- we use regular view templates to control visibility settings of model elements without control of linked models

- we create a separate set of templates which control only linked models and apply there settings we need

- using modified node we apply to our views those templates without changing applied templates, just changing links appearance

Modified node is in the attachment:

[Automatically Apply Settings from View Template](http://dynamobim.org/wp-content/uploads/forum-assets/yonderboi81mail-ru/01/22/Automatically-Apply-Settings-from-View-Template.dyf)

It uses a list of “Level-Required Template” pairs as the second input, which should be created externally.

---

<div class="post-metadata">

**Author:** ![Altayeb\_Zainalabdin](https://avatars.discourse-cdn.com/v4/letter/a/4da419/32.png) [@Altayeb\_Zainalabdin](https://forum.dynamobim.com/u/Altayeb_Zainalabdin)\
**Post date:** [May 9, 2016, 11:28am UTC](https://forum.dynamobim.com/t/batch-assigning-linked-views-to-floor-plans/3005/2 "2016-05-09T11:28:07Z")

</div>

Hi Nikolay,

great Job. i am doing the same process, but with DWG files. can you provide a simple example to show how the the list of “Level-Required template” should be prepared.

thank you

---

<div class="post-metadata">

**Author:** ![Nikolay\_Gerasimov1](https://avatars.discourse-cdn.com/v4/letter/n/eb8c5e/32.png) [@Nikolay\_Gerasimov1](https://forum.dynamobim.com/u/Nikolay_Gerasimov1)\
**Post date:** [May 16, 2016, 10:03am UTC](https://forum.dynamobim.com/t/batch-assigning-linked-views-to-floor-plans/3005/3 "2016-05-16T10:03:50Z")

</div>

Sorry for the delay, currently I do it simply like this

![](https://www.linkedin.com/messaging/attachments/AQHHrCdzPELTKAAAAVS6MpsPLn6bWQBSiaP6AKGiTmLB5bQjhFYrsp2HDmGwBNUic8vnngKr-ChRBeQseDlwEeoI0kws5_KiPMHPCvlkON7SLXrV-txfbz6sEUhwgl9Fxp8cCbBvauBWsghOZBwWgaR5u_wE2uVKiPGsFZZIBDO45KH5iUtGpCDG8AyvX7qtqZ0zG3vaUgbVuq1ACbArZhtV9f4bgj2IkkvMEZpFGKGXqNw-cq8538u_epsbj8d382tDON8qNN8c5DvyoMkDNLvd5tIm0sTFPCkN9Yx_)

---

<div class="post-metadata">

**Author:** ![Neil\_Reilly](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/neil_reilly/32/10277_2.png) [@Neil\_Reilly](https://forum.dynamobim.com/u/Neil_Reilly)\
**Post date:** [February 15, 2017, 11:48am UTC](https://forum.dynamobim.com/t/batch-assigning-linked-views-to-floor-plans/3005/4 "2017-02-15T11:48:16Z")

</div>

Can you re-post the image or even better, the script 🙂 I would be very great full!

---

<div class="post-metadata">

**Author:** ![Nikolay\_Gerasimov1](https://avatars.discourse-cdn.com/v4/letter/n/eb8c5e/32.png) [@Nikolay\_Gerasimov1](https://forum.dynamobim.com/u/Nikolay_Gerasimov1)\
**Post date:** [February 15, 2017, 4:39pm UTC](https://forum.dynamobim.com/t/batch-assigning-linked-views-to-floor-plans/3005/5 "2017-02-15T16:39:27Z")

</div>

The script can be downloaded from the link in the first message .

---

<div class="post-metadata">

**Author:** ![TuanFam](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@TuanFam](https://forum.dynamobim.com/u/TuanFam)\
**Post date:** [December 19, 2019, 11:32am UTC](https://forum.dynamobim.com/t/batch-assigning-linked-views-to-floor-plans/3005/6 "2019-12-19T11:32:17Z")

</div>

Hi, the link doesn’t work for some reason. Can you please re-upload it? Thank you
