2 Replies Latest reply on Feb 19, 2016 10:22 AM by Dave Paul

    Distance Between Two Points in Different Sketches - API

    Dave Paul

      Hello All,

       

      I'm needing a chunk of VBA macro code that will return - within a drawing - the X, Y, Z distance from two points in two different sketches.  I'm not good at translations, so I'm looking for help to begin.

      For Instance: The distance between the part center (red circle) and a different sketch origin in the green circle.

      Coordinates.jpg

       

      Thank you,

      Dave