Mesuare mininum distance between sets

 

Hello,

the standard "measure minimum distance" can only inspect the distance between two elements.

I'm trying to build my own function that measure minimum distance between two sets of elements. (like between two assemblies, or two sets of parts).

the logic is:

for each object in first set - check mimimum distance against every object in second set.

when finish, display the two object with the smallest distance between them.

untill here i got no problem.

 

i've used 'MinimumDistance' function to inspect the objects.

I also want to display virtual projection line between the two closest points. (like the original Inspect -> measure mimimum distance)

I couldn't figure out how to do it.

I'll appriciate any help on this issue.

Thanks,

Aviv

 

 

Posted by: Aviv Rosental
Post date: 2/18/2009 1:09:25 AM