Objects to workset using assembly code ( fails with system family(Types))

You’re still not using Element.ElementType. You need to use Element.ElementType between your list of elements and getting the assembly code value.


You can see in my list of elements that I have loadable families (AHUs and heaters) and system families (Floors and Walls).