Assembly Code in all Elements - Storage type

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!


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


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.