Comparing Vector/Point Lists

Hi Dynamo Family,

I am trying to figure out the best method to compare different vector/point lists. As with many number comparisons, I plan to compare numbers within their |absolute| values. As an example if we have List 1 with vectors: (0,0,1)…(0,1,0)…(1,0,0)…and List 2 with vectors: (0,0,-1)…(0,-1,0)…(-1,0,0) and I wanted to compare them regardless of their (+/-) positive or negative values, what would be the best method? I suppose one could decompose the points get their abs value and rearrange them or do so in python using a for loop but I was wondering if there is a better way?

Dot product then abs() the result. Test the scalar for equality to 1.

1 Like

@Thomas_Mahon Thanks bud! Seems to work perfectly for now.