API round to fraction
API round to fraction
(OP)
How do I activate the round to fraction flag in VB.
So far I got the following bit that works well.
Part.SetUserPreferenceIntegerValue swUnitsLinear, swFEETINCHES
Part.SetUserPreferenceIntegerValue swUnitsLinearDecimalDisplay, swFRACTION
Part.SetUserPreferenceIntegerValue swUnitsLinearFractionDenominator, 16
Thanks
SW 2006
So far I got the following bit that works well.
Part.SetUserPreferenceIntegerValue swUnitsLinear, swFEETINCHES
Part.SetUserPreferenceIntegerValue swUnitsLinearDecimalDisplay, swFRACTION
Part.SetUserPreferenceIntegerValue swUnitsLinearFractionDenominator, 16
Thanks
SW 2006






RE: API round to fraction
In case anybody is interested you have to use the toggle switch as shown pasted below.
Part.SetUserPreferenceToggle swUnitsLinearRoundToNearestFraction, 1
Hopefully this will help somebody one day.
RE: API round to fraction