AnsweredAssumed Answered

SW 2010 export to AutoCAD dwg dimension precision number of decimal places changes

Question asked by David Beard on Jun 18, 2010
Latest reply on Jun 24, 2010 by David Beard

A vendor is producing AutoCAD dwg files for my company by exporting from Solidworks 2010 slddrw by using File - Save As - AutoCAD DWG.  In Solidworks, the drawing document setting for unit number of decimal places is three (.123), and several dimension properties show that their precision is .123 (Document), not an explicit .123 override.  When the exported dwg is opened in AutoCAD or DWGEditor, some of the dimensions are appearing with a precision of zero.  Examining the dimension styles (SLDDIMSTYLE0, SLDDIMSTYLE1, etc.) of these dimensions shows that the dimension style created by Solidworks during the export process has a precision of zero (no decimal places).  There are no overrides applied to individual dimensions during the conversion; each dimension appears as it should according to the dimension style settings.  The problem is, the dimension style should have been set to display three decimal places when the dimension style was created by Solidworks.


 

I am not changing the dimensions' styles from the ones created by Solidworks, so a style change is not the issue.

 

Has anyone else run into this problem & found a way to prevent the number of decimal places from changing during the dwg export?  I can't seem to duplicate it in SW 2008, but I haven't tried that many times.


 

A side note: many arrowheads are also changing from closed filled to Dots in these drawings, but that issue is less critical: it is easier to correct and doesn't require me to have any knowledge of the original dimension appearance.

 

Thanks,

Dave


 

After sleeping on it, I think the answer may be simpler than I thought.  The vendor is importing (inserting) multiple Solidworks-generated dwgs as exploded blocks into a single new AutoCAD "template" dwg.  The first drawing (call it Dwg 1) inserted adds the dimension styles SLDDIMSTYLE0, SLDDIMSTYLE1, etc. to the new drawing.  Since the dimensions in the next drawing being inserted (Dwg 2) have dimension styles also named SLDDIMSTYLE0, SLDDIMSTYLE1, etc., inserting Dwg 2 into the new drawing makes Dwg 2's dimensions take on some of the the dimension styles of Dwg 1.  This could explain the arrowhead problem, too.  A simple fix is to rename the Dwg 1 dimension styles in the new dwg to SLDDIMSTYLE0-1, SLDDIMSTYLE1-1, etc. before inserting Dwg 2.  I'll follow up in this post if this idea works or not in case anyone else runs into the issue.


Dave

Outcomes