# How to get Assembly Code parameter value from element?

**URL:** <https://forum.dynamobim.com/t/how-to-get-assembly-code-parameter-value-from-element/17402>\
**Category:** Revit\
**Created:** [December 14, 2017, 10:57am UTC](https://forum.dynamobim.com/t/how-to-get-assembly-code-parameter-value-from-element/17402 "2017-12-14T10:57:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![emrealmdr](https://avatars.discourse-cdn.com/v4/letter/e/c57346/32.png) [@emrealmdr](https://forum.dynamobim.com/u/emrealmdr)\
**Post date:** [December 14, 2017, 10:57am UTC](https://forum.dynamobim.com/t/how-to-get-assembly-code-parameter-value-from-element/17402/1 "2017-12-14T10:57:47Z")

</div>

Hi all,

I’m trying to solve a problem in my dynamo work. I must create a parameter that name is “BIM TASK ID”. It’s combination of a few parameters, builging name, phase, level etc. I’m trying to add “assembly code” of elements to my ID but I can’t get assembly code of elements. How can I solve it? Thanks in advance. ![1](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/a/6a20de6f18a7f8ad97fc926ea6704636070840dd.PNG)

---

<div class="post-metadata">

**Author:** ![Ron\_Allen](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ron_allen/32/124849_2.png) [@Ron\_Allen](https://forum.dynamobim.com/u/Ron_Allen)\
**Post date:** [December 14, 2017, 11:56pm UTC](https://forum.dynamobim.com/t/how-to-get-assembly-code-parameter-value-from-element/17402/2 "2017-12-14T23:56:14Z")

</div>

![assembly codes](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/7/172480f05493aa8ed4aceb6fdb489da6013af5cb.png)

Would like to know how to do this in python!

---

<div class="post-metadata">

**Author:** ![pavel.formanekk](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pavel.formanekk](https://forum.dynamobim.com/u/pavel.formanekk)\
**Post date:** [April 17, 2019, 8:18am UTC](https://forum.dynamobim.com/t/how-to-get-assembly-code-parameter-value-from-element/17402/3 "2019-04-17T08:18:29Z")

</div>

Hi, may i ask you please what kind of packages are you using in this script?

---

<div class="post-metadata">

**Author:** ![Ron\_Allen](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ron_allen/32/124849_2.png) [@Ron\_Allen](https://forum.dynamobim.com/u/Ron_Allen)\
**Post date:** [April 22, 2019, 2:42pm UTC](https://forum.dynamobim.com/t/how-to-get-assembly-code-parameter-value-from-element/17402/4 "2019-04-22T14:42:50Z")

</div>

I avoid packages as they shift, break and change functionality too much.

Python is built into Dynamo- this was probably 1.x .
