# Change dimensions witness line style across multiple views

**URL:** <https://forum.dynamobim.com/t/change-dimensions-witness-line-style-across-multiple-views/99492>\
**Category:** Revit\
**Tags:** revit, dynamo, views\
**Created:** [March 28, 2024, 3:30am UTC](https://forum.dynamobim.com/t/change-dimensions-witness-line-style-across-multiple-views/99492 "2024-03-28T03:30:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dyna-Steven](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@Dyna-Steven](https://forum.dynamobim.com/u/Dyna-Steven)\
**Post date:** [March 28, 2024, 3:30am UTC](https://forum.dynamobim.com/t/change-dimensions-witness-line-style-across-multiple-views/99492/1 "2024-03-28T03:30:38Z")

</div>

We are trying to automate changing a dimensions witness line style across multiple views. We have a method for listing relevant views. We also have managed to find a method that allows us to manually select the dimension element and quickly change the line style. However we’ve not managed to find a way to change the line style across **MULTIPLE** views. Does anyone have any advice or suggestions on how we could improve our script?

 ![Replace Line Styles Draft_2024-03-28_02-46-57](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/d/6dabe3ecfeff3a882a5d9917a33c9d548896c25a.png)

---

<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:** [March 28, 2024, 9:02am UTC](https://forum.dynamobim.com/t/change-dimensions-witness-line-style-across-multiple-views/99492/2 "2024-03-28T09:02:48Z")

</div>

Hello @Dyna-Steven and welcome,try this one here from genius loci instead

![Revit_BT65MtFoAR](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/5/05278f5362d6713df1c32b2ac970b392b57a1f31.gif)

---

<div class="post-metadata">

**Author:** ![Dyna-Steven](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@Dyna-Steven](https://forum.dynamobim.com/u/Dyna-Steven)\
**Post date:** [March 29, 2024, 2:29am UTC](https://forum.dynamobim.com/t/change-dimensions-witness-line-style-across-multiple-views/99492/3 "2024-03-29T02:29:52Z")

</div>

Hi @sovitek , Thank you for your reply. I’ve had a go at applying that method using genius loci but we seem to be getting a null output. I’m wondering if this is as a result of the method we’re using to create a list of relevant views?

 ![Replace Line Styles Draft_2024-03-29_03-27-27](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/d/9dafeb7ac0f6016fcdf62956a6151cb2a35cb20e.png)

---

<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:** [March 29, 2024, 5:08am UTC](https://forum.dynamobim.com/t/change-dimensions-witness-line-style-across-multiple-views/99492/4 "2024-03-29T05:08:29Z")

</div>

Hi @Dyna-Steven try as here and see if it better…

 ![Skærmbillede 2024-03-29 060655](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/7/37e913a788dc9c141f37e32bb1af6b359a61ca79.png)

---

<div class="post-metadata">

**Author:** ![Dyna-Steven](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@Dyna-Steven](https://forum.dynamobim.com/u/Dyna-Steven)\
**Post date:** [April 1, 2024, 8:08pm UTC](https://forum.dynamobim.com/t/change-dimensions-witness-line-style-across-multiple-views/99492/5 "2024-04-01T20:08:20Z")

</div>

Thank you @sovitek that did the trick! Really appreciate your help 🙂
