Hello
I happened to find out that QCAD is saving linetype and textstyle definitions that are available in the application even into an empty file without any objects.
I came across this at work when I tried to find out why every text entity has gotten his individual textstyle after editing files in QCAD that were originally created in AutoCAD. So I tried to reproduce this at home. Attached file was created in QCAD 3.16.4 on Debian GNU/Linux (amd64) by just opening an empty file (not from template) and saving it.
Could you please help me out in understanding this behavior? Is this intended and can I purge this unused definitions?
Regards,
Stephan
QCAD saving linetype and textstyle definitions into empty files
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
QCAD saving linetype and textstyle definitions into empty files
- Attachments
-
- Test_TextLineStyles.dxf
- (98.26 KiB) Downloaded 503 times
Re: QCAD saving linetype and textstyle definitions into empty files
Hi,
QCAD saves a few settings independently from the drawing for convenience reason. This settings are stored in the qcad3.ini or qcad3.conf - regarding to the used OS.
One simple example is if you draw a horizontal line with a length of 100 units then it will be stored in those application settings for repeatable use and is available until you change it. This isn't stored in the drawing and it is only available on that particular QCAD computer. Unprofessional but common term for that behavior is "Remember function".
Yes, yes.spatz wrote:Is this intended and can I purge this unused definitions?
QCAD saves a few settings independently from the drawing for convenience reason. This settings are stored in the qcad3.ini or qcad3.conf - regarding to the used OS.
One simple example is if you draw a horizontal line with a length of 100 units then it will be stored in those application settings for repeatable use and is available until you change it. This isn't stored in the drawing and it is only available on that particular QCAD computer. Unprofessional but common term for that behavior is "Remember function".
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Re: QCAD saving linetype and textstyle definitions into empty files
Thank you, Husky,
but the linetype and textstyle definitions are actually saved into the file. If you open the file attached to the first post with a text editor you can see some entries (at least ten each) for
textstyles:
and linetypes:
Regards,
Stephan
but the linetype and textstyle definitions are actually saved into the file. If you open the file attached to the first post with a text editor you can see some entries (at least ten each) for
textstyles:
Code: Select all
0
STYLE
5
E6
330
3B
100
AcDbSymbolTableRecord
100
AcDbTextStyleTableRecord
2
textstyle1
70
0
40
0.0
41
1.0
50
0.0
71
0
42
0.2
3
ltypeshp.shx
4
Code: Select all
LTYPE
5
DD
330
3D
100
AcDbSymbolTableRecord
100
AcDbLinetypeTableRecord
2
ACAD_ISO08W100
70
0
3
ISO long-dash short-dash ____ __ ____ __ ____ _
72
65
73
4
40
36.0
49
24.0
74
0
49
-3.0
74
0
49
6.0
74
0
49
-3.0
74
0
0
Stephan
Re: QCAD saving linetype and textstyle definitions into empty files
Sorry to re-open an old post, but here goes anyhow.
We have block - purge unused blocks and Misc - Modify - purge unused layers and blocks. I find them very useful to clean up a drawing.
AutoCAD and Draftsight have a "purge" command that clean up unused line and text styles. Any chance that Either that could be incorporated into QCAD or one of the developers would have a plugin for that?
We have block - purge unused blocks and Misc - Modify - purge unused layers and blocks. I find them very useful to clean up a drawing.
AutoCAD and Draftsight have a "purge" command that clean up unused line and text styles. Any chance that Either that could be incorporated into QCAD or one of the developers would have a plugin for that?
Re: QCAD saving linetype and textstyle definitions into empty files
QCAD does not deal with text styles or line types in the same way as those other products.
Text styles are not supported at all in QCAD and handled internally (a text style is created when needed on exporting to DXF/DWG).
All line types that are defined in .lin files are always immediately available for any new or imported file. Line types cannot be imported or removed.
This makes QCAD easier to handle for the vast majority of users.
Text styles are not supported at all in QCAD and handled internally (a text style is created when needed on exporting to DXF/DWG).
All line types that are defined in .lin files are always immediately available for any new or imported file. Line types cannot be imported or removed.
This makes QCAD easier to handle for the vast majority of users.