For the rest I want to use “BoundingBox.GetElementsIntersect” for the elements that cross multiple masses, in order to get and Concatenate multiple values.
How how can I Isolate them?
This example states 9 elements, 2 masses, where one elements crosses both masses.
Flatten the lists. Get element Ids. Check count of unique elements.
That will tell you which elements have more than one instance. If you need to compare that back to the individual lists then you can compare the element Ids.
I want to delete all the elements from the list, which occur only once.
Because they are being processed earlier, by the command that aplies parameters based on the fact that they are within 1 mass, where they get their parameter from.
The elements I try to isolate intersect with two masses, and I try to set their parameter by concatenation of the values of the two masses they are intersecting with. Assign paramters FSMM simultanious.dyn (221.2 KB)
More fundamentally, this is just the Summary of al the masses who do have a value for this parameter. I would have to filter the masses actually involved in the intersections of each element.
I specifically used amount!-1 in combination with the “IN” output such that only elements which have actually 1 item are being sent through, in your setup a sublist with 3 also fullfils the if-statement.
But if you have any thoughts on how to give the list with the values from the intersecting masses the same structure as the list of the elements, do not hesitate to share this.