hexagon logo

plane to plane distance variable min/max

This should be a quick one for you pros. I have a distance between 2 planes. The max is in tolerance but the min is out. Since using the distance dimension button uses the average, its telling me the feature is in when its not. How do I write a variable for this?
Parents
  • This should be a quick one for you pros. I have a distance between 2 planes. The max is in tolerance but the min is out. Since using the distance dimension button uses the average, its telling me the feature is in when its not. How do I write a variable for this?


    This will give the distance between the centroids of each plane. Use point to point distances (opposing points) for a more accurate distance dimension(s). You could then use the eg below to gather the max and min distances. This is accurate.

    ASSIGN/NOM=YOUR DISTANCE
    ASSIGN/V9=ARRAY(D1.MEAS,D2.MEAS,D3.MEAS,D4.MEAS,D5.MEAS,D6.MEAS,D7.MEAS ,D8.MEAS)
    ASSIGN/V10=ABS(NOM-V9)
    ASSIGN/V11=MAXINDEX(V10)
    ASSIGN/V12=V9[V11]
Reply
  • This should be a quick one for you pros. I have a distance between 2 planes. The max is in tolerance but the min is out. Since using the distance dimension button uses the average, its telling me the feature is in when its not. How do I write a variable for this?


    This will give the distance between the centroids of each plane. Use point to point distances (opposing points) for a more accurate distance dimension(s). You could then use the eg below to gather the max and min distances. This is accurate.

    ASSIGN/NOM=YOUR DISTANCE
    ASSIGN/V9=ARRAY(D1.MEAS,D2.MEAS,D3.MEAS,D4.MEAS,D5.MEAS,D6.MEAS,D7.MEAS ,D8.MEAS)
    ASSIGN/V10=ABS(NOM-V9)
    ASSIGN/V11=MAXINDEX(V10)
    ASSIGN/V12=V9[V11]
Children
No Data