
Re: Rounding fractional dimensions to a whole number
John Pesaturo Mar 10, 2017 3:07 PM (in response to Derek Coller)If you had a fraction that was 1/1 what would it be rounding? It's already a whole number. You can however round 1/2 or any other 1/x (denominator) value.

Re: Rounding fractional dimensions to a whole number
Derek Coller Mar 10, 2017 3:18 PM (in response to John Pesaturo)The point would be to round to the nearest whole number not to the nearest 1/2 inch.
For example 1 1/2" would round to 2" or 1 1/4" would round to 1" etc.
The denominator controls the smallest fraction displayed. I want to be able to keep my drawing in fractions (instead of decimals) and still select specific dimensions that round to a whole number.

Re: Rounding fractional dimensions to a whole number
John Pesaturo Mar 10, 2017 3:28 PM (in response to Derek Coller)Derek, I think it's just a "late on a Friday" issue ...
With the fraction 7/16 ... 7 is the numerator and 16 is the denominator. No matter how many times you try you will never be able to round 1/1 ... 2/1 ... 3/1 or any other similarly afflicted fraction as they are already a "whole" number.

Re: Rounding fractional dimensions to a whole number
Derek Coller Mar 10, 2017 3:48 PM (in response to John Pesaturo)I'm not trying to round a number that is already a whole number. The problem is how SOLIDWORKS converts and rounds a nonfractional decimal.
For example, if the dimension below is 2.47 inches. If I switch to fractions, I can round this to the nearest half inch (which will be 2 1/2 inches) but I cannot round this to the nearest whole number (which would be 2 inches).




Re: Rounding fractional dimensions to a whole number
Glenn Schroeder Mar 10, 2017 3:33 PM (in response to Derek Coller)I don't know why they won't allow it. You could submit an Enhancement Request if you want. In the meantime, you could change it to Decimal, with the Unit Precision set to "None", and add the " in the text box. Save it as a Style and you won't have to repeat the process, just change other dimensions to the same saved Style (or have the Style active when placing the dimensions).

Re: Rounding fractional dimensions to a whole number
Derek Coller Mar 10, 2017 3:37 PM (in response to Glenn Schroeder)Thanks Glenn, that's a great idea! I hadn't thought of saving a style.

Re: Rounding fractional dimensions to a whole number
Glenn Schroeder Mar 10, 2017 3:53 PM (in response to Derek Coller)Derek Coller wrote:
Thanks Glenn, that's a great idea! I hadn't thought of saving a style.
You probably already thought of this, but if this is something you'll need frequently you might want to save the Style in your document template.



Re: Rounding fractional dimensions to a whole number
Derek Coller Aug 10, 2017 2:35 PM (in response to Derek Coller)This has been added as an enhancement request (SPR1039555).