Element.SetParameterByName issue


I am trying to sort and group all my pipe hangers into groups of the same Hanger Type, Size and Rod length and apply a sequential number to each “group”. FIltering and sorting seem to be working but the renumbering part is failing, the Element.SetParameterByName is giving me a error of "Dereferencing a nonpointer.
What do i need to do to get this working?


Hi @Peterpiper

You need to connect elements to setparameter input element right now your connecting strings.


Yep try using the sorted list output rather than the sorted keys output


Thanks guys, that was it…with a couple other tweaks.