# Assembly Code in all Elements - Storage type

**URL:** <https://forum.dynamobim.com/t/assembly-code-in-all-elements-storage-type/33538>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [March 15, 2019, 3:05pm UTC](https://forum.dynamobim.com/t/assembly-code-in-all-elements-storage-type/33538 "2019-03-15T15:05:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![r.login](https://avatars.discourse-cdn.com/v4/letter/r/3d9bf3/32.png) [@r.login](https://forum.dynamobim.com/u/r.login)\
**Post date:** [March 15, 2019, 3:05pm UTC](https://forum.dynamobim.com/t/assembly-code-in-all-elements-storage-type/33538/1 "2019-03-15T15:05:02Z")

</div>

Hello world,

I’ve encountered a weird bug/feature today. My goal is to have a list of Assembly Codes, corresponding to each element in a list. Problem is @Konrad_K_Sobon 's Get Builtin Parameter node seems to be working fine… except for the Assembly Code ( aka " UNIFORMAT\_CODE" ).  
The output is a list of nones and nulls.

I’ll attach some screenshots of my code and the assembly code values i’m looking for.  
Thanks for your advice!

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

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

---

<div class="post-metadata">

**Author:** ![cgartland](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/cgartland/32/45378_2.png) [@cgartland](https://forum.dynamobim.com/u/cgartland)\
**Post date:** [March 15, 2019, 3:18pm UTC](https://forum.dynamobim.com/t/assembly-code-in-all-elements-storage-type/33538/2 "2019-03-15T15:18:48Z")

</div>

Assembly Code is a type parameter, so you have to first get the ElementType from the Element to access its parameters.

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

---

<div class="post-metadata">

**Author:** ![r.login](https://avatars.discourse-cdn.com/v4/letter/r/3d9bf3/32.png) [@r.login](https://forum.dynamobim.com/u/r.login)\
**Post date:** [March 15, 2019, 3:37pm UTC](https://forum.dynamobim.com/t/assembly-code-in-all-elements-storage-type/33538/3 "2019-03-15T15:37:48Z")

</div>

Thanks !

\*Warning: Elements.Type operation failed. \*  
_The call is ambiguous between the following methods or properties: ‘Revit.Elements.ElementWrapper.Wrap(Autodesk.Revit.DB.CurtainSystem, bool)’ and ‘Revit.Elements.ElementWrapper.Wrap(Autodesk.Revit.DB.FamilyInstance, bool)’_

On Element.Type. The method works, seemingly fine tho.
