Login  Register

Default drawing - empty.dxf

Posted by Jim Winkler on Mar 10, 2020; 9:04pm
URL: https://forum.librecad.org/Default-drawing-empty-dxf-tp5718533.html

Two issues:
1) How do I edit LiberCAD's initial startup / "File/New" drawing? Editing empty.dxf does not make changes to it.
I edited and saved C:\Program Files (x86)\LibreCAD\resources\library\templates\empty.dxf  If I do a "File/New From Template" and load C:\Program Files (x86)\LibreCAD\resources\library\templates\empty.dxf, I get a drawing with my modifications. This included adding layers and setting paper to "letter" and margins to (0.2", 0.2", 0.2", 0.2") When I start LiberCAD, or do a "File/New" it loads the same file that it did when I installed LiberCAD. There is only layer 0 and the drawing paper size seems to vary between letter (with margins of 0,0,0,0) and custom with a very small size (width: 8.0399e-07, height: 1.0405e-06). How do I edit the default opening drawing?

BTW: Where is empty.dxf really located? If I delete C:\Program Files (x86)\LibreCAD\resources\library\templates\empty.dxf then do a "File/New From Template", there is still a C:\Program Files (x86)\LibreCAD\resources\library\templates\empty.dxf  If using File Explorer, I copy a file to C:\Program Files (x86)\LibreCAD\resources\library\templates\empty.dxf, the empty.dxf file I copied does not show up with file/open on LiberCAD. The old empty.dxf shows.

2) What is the difference between "File/Open" and "File/New From Template"? They both go to the same last directory a file was opened from. If I "File/Open" say C:\Users\Jim\Documents\Drawings\bracket.dxf then do a "File/New From Template", it will open to C:\Users\Jim\Documents\Drawings\ I have to change directories to C:\Program Files (x86)\LibreCAD\resources\library\templates\ If I then open, say, empty.dxf then a "File/Open", it will open C:\Program Files (x86)\LibreCAD\resources\library\templates\ It seems the two are linked. The New From Template should, I would think, at least initially open to the path set in Options/Application Preferences/Paths/Template:
Interestingly, doing a "File/New From Template" does not change the "File/Save As" directory, just the "File/Open" directory.

Thanks -Jim

Win 10 Pro 64
Version: 2.2.0-rc1-170-g8ef77b40
Compiler: GNU GCC 4.9.1
Compiled on: Mar  9 2020
Qt Version: 5.4.1
Boost Version: 1.53.0
System: Windows