Macro for dimensioning between arcs not the center

Does anybody know how to add/select the dimension between two arc (not between centers) using Macro. If you select them and record the macro, it does not work. That saved macro will give the dimension between the centers of the arc, not between the arcs (as if you hold the shift key, or you arrange the dimension Properties>Leaders>and select the Min) even thogh I pressed the shift key during the selection as it was shown in the pic. However the recorded macro is putting the dimension between centers. How I can fix this in VBA type of macro.

SolidworksApi macros