I have some primitives that have an attribute "class" and I would like to assign an attribute "@unique=1" to each primitives that only have the same value for "class2" for the same value of "class".
--> if there's only the same value for "class2" for all the primitives with the same "class" value then assign to all of this primitives the attribute "unique" with a value of 1 and if there's more than one unique value, give them a value of 0
I tried to promote the "class" attibute to groups but I didn't manage to run the test for each group Any help/guidance would be super welcome, thank you!