News:

Be sure your post is relevant to the current discussion.  Create a new topic within the appropriate board if you are unsure.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Can't save line-width in a DXF

Started by lemel_man, June 12, 2013, 01:51:25 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

lemel_man

I have a 2D DXF in which I need the line-width to be 1.5mm.
In Pen properties I set Width Scaling to World and Value to 1.5mm.
It changes fine, but when I save and re-open it, the Value has been reset to 0.0831mm.
Anybody know what to do to get the value to stick?

I tried to attach the DXF, but it's not allowed.

See my sig for TC version etc.
Gary Wooding
Win10 64-bit,
TC21.2 x64 Plat, Bld59
TC16.2 Plat, Bld54.0
TCC 3.5

Alvin Gregorio

Quote from: lemel_man on June 12, 2013, 01:51:25 AM
I have a 2D DXF in which I need the line-width to be 1.5mm.
In Pen properties I set Width Scaling to World and Value to 1.5mm.
It changes fine, but when I save and re-open it, the Value has been reset to 0.0831mm.
Anybody know what to do to get the value to stick?

I tried to attach the DXF, but it's not allowed.

See my sig for TC version etc.

They say that if you rename the .dxf file to another extension-type (i.e.:  ".... .tcw"), you can upload it to these Forums.  Just include instructions in the accompanying Post for those downloading it to change the extension to ".dxf" before saving/opening it.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

lemel_man

Thanks Alvin,
Here's the DXF - despite having an extension of .TCW it's actually a .DXF, so please change the extension before trying to open it.
Gary Wooding
Win10 64-bit,
TC21.2 x64 Plat, Bld59
TC16.2 Plat, Bld54.0
TCC 3.5

Alvin Gregorio

Quote from: lemel_man on June 12, 2013, 09:41:49 AM
Thanks Alvin,
Here's the DXF - despite having an extension of .TCW it's actually a .DXF, so please change the extension before trying to open it.

Got your file opened.  I had the same issue you did, originally.  But I think found the fix:

In Options|Drawing Setup|Space Units, change your Line Width Units to mm.  And-- in the same window-page-- change your precision to something higher than the 4 that you originally had.  I used 8, but somewhere between 5-and-7 might also do it.

See screen-capture below of my successful settings.

-Alvin

----
Note to others, downloading .dxf file:  When downloading, Save as..., don't allow the option of type being "TurboCAD file".  Change that selection if/when prompted to "All Files", and in the File-Name field, change the extension to .dxf, before saving.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

lemel_man

Hi Alvin, it just didn't work for me.
I noticed something else, possibly related.
When I started, the line width units were in inches, so I changed it to mm, and ensured that everything else agreed with your settings, including Scale Model Space which I had originally  at 1:1 instead of your 1: 0.001550.
I then changed the line width and saved the file, but on re-opening it the line width units were inches again, the Model Space scale was 1:0.000061, and the line width was 0.08307087 mm
Gary Wooding
Win10 64-bit,
TC21.2 x64 Plat, Bld59
TC16.2 Plat, Bld54.0
TCC 3.5

Alvin Gregorio

#5
Quote from: lemel_man on June 14, 2013, 02:18:51 AM
Hi Alvin, it just didn't work for me.
I noticed something else, possibly related.
When I started, the line width units were in inches, so I changed it to mm, and ensured that everything else agreed with your settings, including Scale Model Space which I had originally  at 1:1 instead of your 1: 0.001550.
I then changed the line width and saved the file, but on re-opening it the line width units were inches again, the Model Space scale was 1:0.000061, and the line width was 0.08307087 mm

I wouldn't concern myself too much with the Scale->Model Space settings-- that effects little more than the eventual print-scaling (from Modelspace, not Paperspace, in this case).  But it is curious that that value is changing.  I didn't make any adjustments to the Scale->Model Space settings from your original file.

For additional assistance, please upload/attach your latest version of this file, and provide any additional detail as to what adjustments you have attempted.  Also, please provide a screen-capture of your Space Units page just before the final-saving of your file.

-Alvin
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Alvin Gregorio

Quote from: lemel_man on June 14, 2013, 02:18:51 AM
Hi Alvin, it just didn't work for me.
I noticed something else, possibly related.
When I started, the line width units were in inches, so I changed it to mm, and ensured that everything else agreed with your settings, including Scale Model Space which I had originally  at 1:1 instead of your 1: 0.001550.
I then changed the line width and saved the file, but on re-opening it the line width units were inches again, the Model Space scale was 1:0.000061, and the line width was 0.08307087 mm

One other thing I would suggest:
  Have you tried adjusting your settings (principally, your Pen-Widths, as desired), then Saving As a TurboCAD file (.tcw), closing and re-opening the .tcw file, and see if the settings stay as set?  Then-- if the settings do indeed stay set-- Save As a .dxf (you might want to Save As .dwg; in this day-and-age, I have to believe that any application that can open a .dxf can open a .dwg).  Could be a "conversion" to .dxf issue.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Alvin Gregorio

Quote from: lemel_man on June 14, 2013, 02:18:51 AM
Hi Alvin, it just didn't work for me.
I noticed something else, possibly related.
When I started, the line width units were in inches, so I changed it to mm, and ensured that everything else agreed with your settings, including Scale Model Space which I had originally  at 1:1 instead of your 1: 0.001550.
I then changed the line width and saved the file, but on re-opening it the line width units were inches again, the Model Space scale was 1:0.000061, and the line width was 0.08307087 mm

Also:  It doesn't show in my Space Units screen-capture, but be sure to check (turn on) the "Convert Units after alteration" option.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Alvin Gregorio

Yes.  I've just run some tests.  I believe if you do all that I suggested in my last three just-previous Posts, you will have success.

Recap:

  • In Drawing Setup->Space Units

    • Ensure that you are working in Metric (at the top)
    • Change Line Width Units to mm
    • (you should not need to adjust the Precision, but go ahead, if you want to)
    • Check (turn on) "Convert units after alteration" (important)
    • Click "OK"


    Here's what I think is the other important part:

    • After changing all your Pen Properties settings to what you want, Save as a TurboCAD (.tcw) file.
    • Close the file, and re-Open
    • Now you should see the settings have "stuck"
    • Now save as a .dwg (or .dxf, if you really need to)

    Close and re-open that .dwg or .dxf and see if the settings "stuck".  They do repeatedly, on my end-- both in my version-11.2-Pro and my version-19.2-Deluxe.

    -Alvin
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

DonCW

#9
Quote from: lemel_man on June 12, 2013, 01:51:25 AM
I have a 2D DXF in which I need the line-width to be 1.5mm.
In Pen properties I set Width Scaling to World and Value to 1.5mm.
It changes fine, but when I save and re-open it, the Value has been reset to 0.0831mm.
Anybody know what to do to get the value to stick?

I tried to attach the DXF, but it's not allowed.

See my sig for TC version etc.

1. In TCExplorer I added 1.5mm to Line Width. 
2. I work in metric for the most part so Metric is set as default thru the Page setup wizard.
3. Change to metric in Space Options.
4. Ctrl-A to select all and choose 1.5mm Line Width
5. Save the file as .TCW and the setting stick.

On an added note, if the .TCW file is saved as a .DXF file the settings are lost. :(
DonCW
2020 Platinum
2018 Platinum
2017 Pro with Light Works Plug in



Windows 10
There's so much to learn and not much time left to learn it.

lemel_man

I really appreciate your attention, but I now reckon that my V16.2 can't do it.
Here are a series of screen shots showing setting the units, making the change, saving as TCW, re-opening the TCW, saving as DXF and then re-opening the DXF.
Since I can only post 6 attachments at a time, the 7th is in the next post.
Gary Wooding
Win10 64-bit,
TC21.2 x64 Plat, Bld59
TC16.2 Plat, Bld54.0
TCC 3.5

lemel_man

Here is the last screen shot showing the file opened as a DXF with the line width setting forgotten.

I'm giving up and finding a different way.
Gary Wooding
Win10 64-bit,
TC21.2 x64 Plat, Bld59
TC16.2 Plat, Bld54.0
TCC 3.5

DonCW

#12
Quote from: lemel_man on June 16, 2013, 02:23:26 AM
Here is the last screen shot showing the file opened as a DXF with the line width setting forgotten.

I'm giving up and finding a different way.

Gary,

This may be the solution, open the file>Ctrl-A to select all and explode 1 time to change all entities from  splines to polylines. Assign the 1.5mm line width and Save. I tried it and when the file was re-opened the settings were intact.

Sorry, I forgot add attachment earlier. It is a .DXF file, the extension will have to be changed before opening.

HTH
DonCW
2020 Platinum
2018 Platinum
2017 Pro with Light Works Plug in



Windows 10
There's so much to learn and not much time left to learn it.

lemel_man

Quote from: DonCW on June 16, 2013, 08:22:03 AM
This may be the solution, open the file>Ctrl-A to select all and explode 1 time to change all entities from  splines to polylines. Assign the 1.5mm line width and Save. I tried it and when the file was re-opened the settings were intact.
Wow, that worked.
Again, many thanks for everybody's assistance. This forum is a magnificent resource.
Gary Wooding
Win10 64-bit,
TC21.2 x64 Plat, Bld59
TC16.2 Plat, Bld54.0
TCC 3.5

DonCW

Quote from: lemel_man on June 16, 2013, 11:09:00 PM
Quote from: DonCW on June 16, 2013, 08:22:03 AM
This may be the solution, open the file>Ctrl-A to select all and explode 1 time to change all entities from  splines to polylines. Assign the 1.5mm line width and Save. I tried it and when the file was re-opened the settings were intact.
Wow, that worked.
Again, many thanks for everybody's assistance. This forum is a magnificent resource.

Your Welcome.  :)

DonCW
DonCW
2020 Platinum
2018 Platinum
2017 Pro with Light Works Plug in



Windows 10
There's so much to learn and not much time left to learn it.