Count elements with the same parameter values

Hi there,

so as the title states i want to count elements which have the same parameter values and then give those their respective number as a parameter. To make it more clear, here’s how far i got:

So up until now i was able to create a unique key from the values of the parameters stated in the first codeblock. I then use that unique key to get a dictionary in which the sublists only contain elements with identical parameter values.
For the 2 List in the dictionary i would like to have the item at index 0 to get a parameter with the value “01” and for the item at index 1 the value should be “02”. If that list now had 99 Items the parameters should be filled for each element all the way up until “99”. Any ideas on how to make that happen?

Ideally, this should work for every one of the different sublists in the dictionary.

Thanks in advance.

@Tjalf.Thaele ,

i am not shure what you looking for…

KR

Andreas

Hi @Tjalf.Thaele ,

See if something like this works for you:

1 Like

Hello you guys, i found a solution at the end, it looks like this:

I had to make it to be a 2 digit number everytime and needed it as a string to fill my parameter, hence the additional steps!