Macro to Edit Hole Callout

I would like to write a macro to modify the hole callout fromthe default formatting to a limit with tolerances and a change inprecision.
I began by recording the macro and working with"Part.EditDimensionProperties2".
However, what I found is that the precision will change but thevariables associated with the limits and tolerancing will not. Asan option I briefly considered using a standard dimension butcannot determine a method to access the HW variables.
Any help would be appreciated - or if there is a previous post Imissed let me know.
ThanksSolidworksApi macros