I created 4 nested lists by extracting the distance of multiple elements to the nearest panel family. My process was this
- Get distance between each family to each panel family
- Compare the values at each index number in nested list to the same index number in the other nested lists and finding the smallest value.
- Smallest value remains in its respective list while the others are removed.
- New list shows the smallest distance of elements to their respective panels.
My question is, how do I link these values back to the elements geometry and update their parameter values? Please see the attached script.
Thank You