Drawing contains various dimensions with different rounded up display value set by designers as below:
Dim Rounded Original
d1 154.32 154.3204
d2 150.450 150.45001
Dimension retrieve API is getting the Original value instead of display value which is rounded up.
Is there any API to retrieve rounded up value or round precision point location?
Solved! Go to Solution.
You can give it a try for below approach:
You can check using API ProDimensionIsDisplayRoundedValue() whether dimension displayed as rounded value or not.
One would need to use ProDimensionDisplayedValueGet(...) to get a displayed value. Comparing this value with return of ProDimensionValueGet(...) would tell you if a dimension is in 'rounded' state.