# Changing Viewport Types

**URL:** <https://forum.dynamobim.com/t/changing-viewport-types/24290>\
**Category:** Revit\
**Created:** [July 30, 2018, 6:08pm UTC](https://forum.dynamobim.com/t/changing-viewport-types/24290 "2018-07-30T18:08:11Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZJRODGERS](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/zjrodgers/32/99929_2.png) [@ZJRODGERS](https://forum.dynamobim.com/u/ZJRODGERS)\
**Post date:** [July 30, 2018, 6:08pm UTC](https://forum.dynamobim.com/t/changing-viewport-types/24290/1 "2018-07-30T18:08:11Z")

</div>

Trying to change Viewports through dynamo and im getting an error on Set BIP Parameter. Any Ideas?

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/f/7f0ed5cb6a654f4313e93750baca6c5eeaffb066.png)

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [July 30, 2018, 6:20pm UTC](https://forum.dynamobim.com/t/changing-viewport-types/24290/2 "2018-07-30T18:20:01Z")

</div>

Hi @ZJRODGERS

You need to feed BuiltInParameter currently your feeding string to it. Have a look at this explanation by @Konrad_K_Sobon.

> [@How to set Viewport Type?](https://forum.dynamobim.com/t/how-to-set-viewport-type/7200/8):
>
> @Greg_McDowell, no Python needed. We can set the appropriate parameter by using the BuiltInParameter nodes from Archi-lab. @Arno_De_Lange, This should do the trick: Ps. The issue with the OOTB parameter nodes are as stated above. There are multiple parameters with the same name, and they are stored in a ParameterSet so an unordered collection. Please use BIP to get the “right” parameter every time.

---

<div class="post-metadata">

**Author:** ![ZJRODGERS](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/zjrodgers/32/99929_2.png) [@ZJRODGERS](https://forum.dynamobim.com/u/ZJRODGERS)\
**Post date:** [July 30, 2018, 6:33pm UTC](https://forum.dynamobim.com/t/changing-viewport-types/24290/3 "2018-07-30T18:33:42Z")

</div>

well i dont know if im pulling the right info. changed it and still an error

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/b/fbcbeedfa0ccbd801fef5d16f2099aebc45fcef0.png)

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [July 30, 2018, 6:53pm UTC](https://forum.dynamobim.com/t/changing-viewport-types/24290/4 "2018-07-30T18:53:08Z")

</div>

> [@ZJRODGERS](#):
>
> well i dont know if im pulling the right info.

Still feeding wrong inputs. You need to feed ids not elements to parameter values and check your elements list also.

---

<div class="post-metadata">

**Author:** ![ZJRODGERS](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/zjrodgers/32/99929_2.png) [@ZJRODGERS](https://forum.dynamobim.com/u/ZJRODGERS)\
**Post date:** [July 30, 2018, 6:54pm UTC](https://forum.dynamobim.com/t/changing-viewport-types/24290/5 "2018-07-30T18:54:08Z")

</div>

Got It! Thank you

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/b/ab47e54753eca4d0f166e4c4b32a0ed25a78c3e5.png)

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [July 30, 2018, 6:55pm UTC](https://forum.dynamobim.com/t/changing-viewport-types/24290/6 "2018-07-30T18:55:13Z")

</div>

> [@ZJRODGERS](#):
>
> Got It! Thank you

Please mark the post as solved. You’re welcome!

---

<div class="post-metadata">

**Author:** ![dca](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dca/32/62648_2.png) [@dca](https://forum.dynamobim.com/u/dca)\
**Post date:** [December 13, 2018, 10:41am UTC](https://forum.dynamobim.com/t/changing-viewport-types/24290/7 "2018-12-13T10:41:57Z")

</div>

I´m trying to replicate the scritp to change viewport type on my legends.  
I´m have an error in line 55 of the python script inside de “Set BuiltIn Parameter”

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/f/ffdf2e48ea441c5a6294fe8c372ad3c856fcb8eb.png)

Thank´s in advice for help!

---

<div class="post-metadata">

**Author:** ![ZJRODGERS](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/zjrodgers/32/99929_2.png) [@ZJRODGERS](https://forum.dynamobim.com/u/ZJRODGERS)\
**Post date:** [December 13, 2018, 11:51am UTC](https://forum.dynamobim.com/t/changing-viewport-types/24290/8 "2018-12-13T11:51:56Z")

</div>

[Change Viewport Type.dyn](https://forum.dynamobim.com/uploads/short-url/u6CLdbkphRSQb6G7UoazbNAHIdI.dyn) (33.3 KB)

---

<div class="post-metadata">

**Author:** ![dca](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dca/32/62648_2.png) [@dca](https://forum.dynamobim.com/u/dca)\
**Post date:** [December 13, 2018, 12:10pm UTC](https://forum.dynamobim.com/t/changing-viewport-types/24290/9 "2018-12-13T12:10:00Z")

</div>

Thanks! It work´s 🕶

---

<div class="post-metadata">

**Author:** ![ruben.romero](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ruben.romero/32/115842_2.png) [@ruben.romero](https://forum.dynamobim.com/u/ruben.romero)\
**Post date:** [May 16, 2022, 7:31am UTC](https://forum.dynamobim.com/t/changing-viewport-types/24290/10 "2022-05-16T07:31:23Z")

</div>

> [@dca](#):
>
> “Set BuiltIn Parameter”

you can use Set parameter by name OOTB node and the value the family type…
