Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

unwanted trailing zeros

Status
Not open for further replies.

moyesboy

Mechanical
Nov 12, 2002
77
Something changed, perhaps at 2010 SP4, that means now any dimension on my drawings that has a decimal, is filled to two trailing zeros.
I didn't change anything, and it didn't used to do it.

The issue is either all my drawings got doc properties dims trailing zeros set to "smart" when it wasn't before, or the behavious of smart changed with the service pack.
Behavious of smart is as SW intended, if you get a decimal it fills to the specified accuracy of trailing zeros. If its a whole number the tailing zeros are off.

Anyway - my drawings now have unintended edit so any dims like 5.1 are now shown as 5.10 which is a problem becuase my std tolerance table means their tolerance is now tighter becuase 2 decimals are displayed rather than 1.

I changed my templates so all future drawings won't suffer, but any existing drawing I open ends up with the new trailing zeros. Already cost me time on the phone with suppliers that did. Now I have to open all the existing drawings and change their doc property to trailing zeros std rather than smart.

Is there a way to do this automatically/globally/overnight without me spending hours doing it manuallly with each drawing as it is opened (and forgetting sometimes)?
 
Replies continue below

Recommended for you

Just spoken to my draffy and he's been manually changing this for a while. Probably since we upgraded from 2009 to 2010.
 
Unit precision is set to .12
This is what it picks up to decide to set 0.00 zero fill, if it is going to use the zero fill.
My trouble is switching the zero fill on and off.

I now understand how it works (putting aside how might have worked before).

I seek a way of changing the doc property setting for this on all my drawing files, somehow, automatically rather than manually.
 
I updated the template, so new drawing will be ok.
However when I open a pre-exiting drawing and up issue it, the dims are all affected and get the extra zeros. Then I have to change the doc properties to correct it.

I did the correction to the drawing format, but reloading the drawing format doesn't update the document properties for the drawing. I have to update the doc properties for the actual drawing individually for every drawing.

Solidworks does not maintain a link to the drawing format or the doc template. The drawing frame, for example, is not an external reference. An external refernce doesn't seem to be possible (if it is please post!).
That is another PITA when my company keeps changing name and moving office. To update the drawing frame (new logo, address etc) seems to be an open, reload, and save batch job on every drawing.
 
One of the macros listed in: thread559-217611 may be of use to you.
 
You can use Document Properties Drafting Standards and export the drafting settings -> Export to external file.
This settings file can then be applied to any drawings no matter if you made them or not.

The file contains all the settings for dims views and any preset Layers for Draft items such as Balloons Notes and view labels.

Michael
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor