How can i get a filepath of current(opened) dxf file?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How can i get a filepath of current(opened) dxf file?

slavan
Hello, i'm developing a small plugin for LibreCAD, i can't find the filepath of current dxf file. Does LibreCAD have a method/variable that can solve my trouble? Thanks much.
Reply | Threaded
Open this post in threaded view
|

Re: How can i get a filepath of current(opened) dxf file?

LordOfBikes
Administrator
The plugin interface does not have and need this information.
It is intended to modify the document representation in memory.
Modifying an open DXF file from outside LibreCAD, on file level,  is a bad idea generally.
There is no mechanism in LibreCAD which can handle this correct.
investing less than half an hour into Search function can save hours or days of waiting for a solution