Comment 3 for bug 1266193

Revision history for this message
Alvin Penner (apenner) wrote : Re: Inkscape shows dialog window in in console mode

as I mentioned previously, the problem does not lie on the export side. The problem lies on the import side. You will encounter exactly the same problem if you run the simple command

inkscape \windows\temp\test.dxf

which just imports a dxf file. In principle, it would be relatively easy to convert the dxf import routine to run silently. All you need to do is hard code the appropriate defaults into the script dxf_input.inx. However, then the problem is that there is no way to activate the dialog box if you need it.

In other words, as far as I can tell, there is no easy way to switch from a "silent" import version to a "dialog" import version. It would be necessary to actually have two separate versions, one for each task. However, creating a "silent" version for your own personal use would probably not be very hard. You would need to remove all the parameters from the .inx file and hard code all the defaults into the .py file.