# Issue with Assigning Different Parameter Values to Multiple Elements

**URL:** <https://forum.dynamobim.com/t/issue-with-assigning-different-parameter-values-to-multiple-elements/115131>\
**Category:** Uncategorized\
**Created:** [August 25, 2026, 2:16am UTC](https://forum.dynamobim.com/t/issue-with-assigning-different-parameter-values-to-multiple-elements/115131 "2026-08-25T02:16:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![aadvikaravind111](https://avatars.discourse-cdn.com/v4/letter/a/e480ec/32.png) [@aadvikaravind111](https://forum.dynamobim.com/u/aadvikaravind111)\
**Post date:** [August 25, 2026, 2:16am UTC](https://forum.dynamobim.com/t/issue-with-assigning-different-parameter-values-to-multiple-elements/115131/1 "2026-08-25T02:16:02Z")

</div>

I have extracted parameter values from elements and need to assign these values to different parameters in Revit. I have already created the Dynamo script, and it works correctly when applied to a single element.

However, when I try to apply the same process to multiple elements, the same value is being assigned to all elements instead of the corresponding values.

Could anyone please help me identify the issue and advise how I can assign the correct value to each element when processing multiple elements?

Thank you in advance for your help.

 ![WhatsApp Image 2026-08-25 at 8.23.04 AM](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/6/06a4b77b9437ea5d8f62add8b4c200ab544f9bb9.jpeg)  
 ![WhatsApp Image 2026-08-25 at 8.23.04 AM (1)](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/b/1b9b48e0d9e6f5bcf276061956658c18b337a22a.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/e/4e08d0a48c6b7c4b1564215d4c8a324d00a906aa.png)

---

<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:** [August 25, 2026, 4:21am UTC](https://forum.dynamobim.com/t/issue-with-assigning-different-parameter-values-to-multiple-elements/115131/2 "2026-08-25T04:21:41Z")

</div>

Lacing and list level issue. Worth checking the primer so you get the concepts as you’ll struggle often without a good grasp on it - [What's a List | Dynamo](https://primer2.dynamobim.org/5_essential_nodes_and_concepts/5-4_designing-with-lists/1-whats-a-list#lacing).

Set the list level for ‘element’ to @L1, and the level for `value` to @L2, then set lacing to longest.

---

<div class="post-metadata">

**Author:** ![aadvikaravind111](https://avatars.discourse-cdn.com/v4/letter/a/e480ec/32.png) [@aadvikaravind111](https://forum.dynamobim.com/u/aadvikaravind111)\
**Post date:** [August 25, 2026, 7:36am UTC](https://forum.dynamobim.com/t/issue-with-assigning-different-parameter-values-to-multiple-elements/115131/3 "2026-08-25T07:36:14Z")

</div>

Hi sir, thank you so much for your support.  
I have done that, it’s working now, but i can’t understand the list level l, sir

 ![IMG-20260825-WA0015](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/2/e2fb9f5489f39fca90b3e39814c38622ff8e58fb.jpeg)

---

<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:** [August 25, 2026, 8:14am UTC](https://forum.dynamobim.com/t/issue-with-assigning-different-parameter-values-to-multiple-elements/115131/4 "2026-08-25T08:14:35Z")

</div>

List levels tell Dynamo to treat the inputs to a node as “sets” to process.

By using @L1 on the `element` you’re telling Dynamo to treat each element as it’s own subset.  
By not providing a level to `parameterName` you’re telling Dynamo to use the default which is “everything” on the outter most list which happens to be @L2.  
By using @L2 on the `values` you’re telling Dynamo to process the sublists on each associated element.  
By using Longest lacing on the node you’re telling it reuse the items in the shortest list (the number of @L2 lists for `parameterName`) over and over until the next shortest list (both the `element` and `value` lists) have been processed.

I recommend watching the [Dynamo Office Hours](https://www.youtube.com/playlist?list=PLdlF7MirPEC2yNFTGymESd3t7Xosfk9c2) on lists and lacing (4, 5 and 6), as well as reviewing the [primer](https://primer2.dynamobim.org/5_essential_nodes_and_concepts/5-4_designing-with-lists) for more info.

---

<div class="post-metadata">

**Author:** ![aadvikaravind111](https://avatars.discourse-cdn.com/v4/letter/a/e480ec/32.png) [@aadvikaravind111](https://forum.dynamobim.com/u/aadvikaravind111)\
**Post date:** [August 25, 2026, 8:56am UTC](https://forum.dynamobim.com/t/issue-with-assigning-different-parameter-values-to-multiple-elements/115131/5 "2026-08-25T08:56:58Z")

</div>

Noted sir. Thank you
