Submitted by email@example.com on Mon, 02/05/2018 - 02:24
I'm trying to find the minimum distance between 2 points but I keep getting an error.
I get and error saying I can't convert a point3d to an object
This is what I have so far:
Dim LEpoint as Point3D Dim intpoint as Point3D Dim chord As MeasureDistance = workPart.MeasureManager.NewDistance(workPart.UnitCollection.FindObject("Milimiters"), MeasureManager.MeasureType.Minimum, LEpoint, intpoint) lw.writeline ("distance is " & chord.value)