# Modify section parameter

**URL:** <https://forum.dynamobim.com/t/modify-section-parameter/31499>\
**Category:** Revit\
**Created:** [January 31, 2019, 3:09pm UTC](https://forum.dynamobim.com/t/modify-section-parameter/31499 "2019-01-31T15:09:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BCochin](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@BCochin](https://forum.dynamobim.com/u/BCochin)\
**Post date:** [January 31, 2019, 3:09pm UTC](https://forum.dynamobim.com/t/modify-section-parameter/31499/1 "2019-01-31T15:09:08Z")

</div>

Hi,

I want to update parameters on section views based on an subtext of the view name.  
I can do it manually, so I assume there is a way to automate it with dynamo.  
See image below.

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

Unfortunately, it seems that the parameter cannot be accessed through the SectionView type (read-only).

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/c/6cb8a7d2db14fa069428306e6a465ca0ff4bcdde.png)  
I think I need to identify section marker elements rather than sectionView elements to be able to set a new value of parameter. But they seem to be part of the same category…  
 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/e/7e6f51b13174aaaef995dd46f5cf387ccaba291d.png)  
Anybody knows what’s happening here?

For the moment I use the “select model element” node as a workaround, but when I will be in a different model, I’d like it to select all the section views automatically, without the need of the user.

Thank you for your advice.

---

<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:** [January 31, 2019, 6:25pm UTC](https://forum.dynamobim.com/t/modify-section-parameter/31499/2 "2019-01-31T18:25:49Z")

</div>

Hi @BCochin  
Try using python:

`i.LookupParameter("JOUR_AFFICHAGE").Set(IN[0])`

---

<div class="post-metadata">

**Author:** ![BCochin](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@BCochin](https://forum.dynamobim.com/u/BCochin)\
**Post date:** [February 1, 2019, 10:10am UTC](https://forum.dynamobim.com/t/modify-section-parameter/31499/3 "2019-02-01T10:10:07Z")

</div>

> [@Kulkul](#):
>
> i.LookupParameter(“JOUR\_AFFICHAGE”).Set(IN[0])

Hi, thank you for your answer.  
I didn’t dive into python for dynamo/revit yet so I don’t really understand which part of my problem this line covers.  
Can you explain a little bit more please?
