Inquire Geometry-Geometry Distance (3D)
Inquire
Distance (Part/CAM Level)
Use this command to dynamically inquire the distance between one geometry entity and another. Geometry refers to any curve, edge, face or trimmed face. You can inquire distances within a part or among components within an assembly or sub-assembly.
The Variable command option can be used to assign the queried distance to a variable and log the variable to the active part's history. This contributes to the "family-of-parts" functionality by allowing the part to be driven during a history regen by variables derived from queried distances.

1st entity
Select a curve, edge or face to measure from.
2nd entity
Select a curve, edge or face to measure to or move the cursor over additional curves, edges or faces. The distance to each is displayed in the Distance field.
Keep start point in trim bounds
Check this box to use the trimmed portion of the curve or face. The shortest distance from the start pick point (first entity picked) is calculated. If unchecked, the untrimmed base curve or surface is used.
Keep end point in trim bounds
Same option as above but applies to the end pick point (second entity picked).
Variable
You can use this option to log variables to the active part's history whose values equal the inquired distance and x, y and z values. The variables can then be used in any expression, equation or VX macro.