Hi All,
I am trying to retrieve the tolerance for a dimension on a drawing using vba. Having browsed the api, i havn't had any luck locating a method that returns the precision of the tolerance or dimension. Only been able to find the methods "GetPrimaryPrecision2" and the counterpart "GetPrimaryTolerancePrecision2". They only return whether the precision follows the nominal or document default. I need to know if there are one, two or three decimal place precision on the dimension.
A lot of the drawings are converted from metric values to imperial to go to the floor, which leaves me with converted dimensions of 8 decimal places! Not very nice if you have to make the part!
Am I looking in the right spot? I assume there must be a table stored somewhere with keys that link to the dropdown in the dimension dialog boxes that say "Unit Precision" and "Tolerance Precision"
I am using SW 2013.
Thanks for the help,
Steve