DWG Line Thickness assignment

     I assign the line thickness(mm) to dwg files from dwg options (.dws) and

I don't know why if i change value before open again it's not change.

How can I change it? or I have to use batch convert to re-assign?

In MicroStation only show weight index. How to check the value in MicroStation?

I setup our level standard to have both color and weight together but I never plot in AutoCAD.

Our Client have a requirement to plot or generate viewer on Autodesk TrueView2011 from line thickness?

I tried to open it on AutoDeskTrueview to verify line thickness but what I found the linethickness not changed to new value.

Please advise me,

Alex

 

  • Hi Alex,

    The settings are stored in *.dws files somewhere in your workspace (Config Var MS_DWGSETTINGSFILE).

    Maybe the location of the file or the file either is write protected.

    Regards

    Frank

    since 1985: GIS, CAD, Engineering (Civil)  Senior Consultant : [Autodesk Civil 3D , Esri ArcGIS, VertiGIS: in previous days : Bentley MS V4 - V8i, GeoGraphics, Bentley Map V8i, InRoads,  HHK Geograf, IBr DAVID] :  Dev: [C, C++, .NET, Java, SQL, FORTRAN, UML]
    [direct quote by: http://en.wikipedia.org/wiki/Helmut_Schmidt]: "Wer Kritik übel nimmt, hat etwas zu verbergen"
    Wer Grammatik- und/oder Rechtschreibfehler findet, der darf sie behalten :-)

  • Thanks Frank,

          The drawing files is not set to write protect. I already update .dws file  and mark it to read only.

    I don't want operator change it .

           what I think only re-open drawing with new dws file then save the drawing, Is that correct?

    Cause I tried to re-open drawing with new .dws then saved. I re-check with the autocad program

    and found the thickness value dosen't change.

          I don't know how to do next.

    Regards,

    Alex

  • There are two kinds of "line weight" in DWG, true Line Weight and Polyline Width.  Polyline width is an old concept, although occasionally still useful, probably not what your client expects.  If I understood your correctly I think you are trying to produce line weights required by your client.

    There is a "Line Weights" mapping table in both DWG Open and DWG Save Options.  Your DGN weights should be mapped to DWG weights according to this table, for both open and save.  Say if you map line weight 10 to 2.00mm, AutoCAD will read it as 2.00mm but MicroStation will still read it as 10 upon opening your DWG back, because whatever you have changed for saving will become also effective for opening.  It is the same mapping table.

    Make sure you select the view number for DWG save.

    As for how a .dws file supposed to work, whenever you opened a .dws file (readonly or not), it will only be copied as active dwgsettings.rsc which is always used by DWG Open/Save.  If you have made a change in your setting and want to keep that change, you'd have to save your settings to update your .dws file.  Otherwise you change will be reverted by opening the .dws file next time around.



  • Please see attached files I made and testing.

    What I found 3 things:

        1. I setup level management control element attribut by color and weight index and print configuration (.pltcfg) control output linethickness(mm) from weight (or color),  It's have no problem on microstation because MicroStation read a value from print configuration(.pltcfg) then generate output (If I'm understood correctly).  I not assign thickness value to weight, just use from default, but each Level was asign color and weight index together.

         Example:     

    Level1      color0      weight 0,  

    Level2      color1      weight 1 ,  

    Level3      color2      weight 2

         I found when I open in AutoCAD, Weight index change to WeightThickness(mm) but I print it by color, No problem. Now, client give me a new requirement, they need to print by thickness and I have to change. I changed dws file re-open again then saved but not change the thickness value of each level.

        2. The Existing element was created under .DWS environment can not change or update by anothers DWS.  if I want to re-assign, how to do?

        3. If I re-open by the anothers DWS, It's have affected only new element.

    What I don't know is How to update or change thickness of the existing element that's controled bylevel or byelement?

    I try to update my level standard but only see weight index until I open by AutoCAD. 

    Please help,

    Alex

    Alex-Dim_ref.dwg
  • Alex, since you are editing a DWG file, only the elements that have been changed need to be saved, and hence affected by your new settings.  If you do not make any change, your DWG data stays unchanged and nothing is affected by your DWG settings change.

    What you need to do is to open your DWG file, open your new .dws file or directly make weight change in DWG save dialog box, do File->Save Settings and followed by File->Save.  That will force table elements include level tables to be changed and thus to go through the saving process, with your settings changes effective on them.  If you want elements that do not use BYLEVEL lineweight also to take effect of your new lineweight, you'd also have to somehow change these elements, say moving them to a new location or changing their linestyle etc, before you do save.

    In case you ask, editing DWG is no different than editing DGN in regard to what and how save works.  Only changes need to be saved, for obvious reasons.