I am a newbit to QCAD.
I am interested in testing the dwg2svg routine. However, I get an error. I was wondering if I am making a mistake or if there's a bug.
I am using the trial version of QCAD version 3.27.6 on Win10.
I am in the directory Program files/QCAD. There, there is the dwg2svg.bat file and the dwg file that I want to convert.
Then I run the following command.
.\dwg2svg -o out.svg .\infile.DWG
Which gives me the error:
Code: Select all
Warning: RScriptHandlerEcma::eval: script engine exception: "ReferenceError: Can't find variable: fileName"
Warning: "<anonymous>() at :scripts/Pro/ImportExport/SvgExporter/SvgExporter.js:125\n<anonymous>(fileName = 'C:/Program Files/QCAD\\out.svg') at :scripts/Pro/ImportExport/SvgExporter/SvgExporter.js:146\nmain() at :scripts\\Pro\\Tools\\Dwg2Svg\\Dwg2Svg.js:174\n<global>() at :scripts\\Pro\\Tools\\Dwg2Svg\\Dwg2Svg.js:304"
Warning: At least one uncaught exception:
Warning: "<anonymous>() at :scripts/Pro/ImportExport/SvgExporter/SvgExporter.js:125\n<anonymous>(fileName = 'C:/Program Files/QCAD\\out.svg') at :scripts/Pro/ImportExport/SvgExporter/SvgExporter.js:146\nmain() at :scripts\\Pro\\Tools\\Dwg2Svg\\Dwg2Svg.js:174\n<global>() at :scripts\\Pro\\Tools\\Dwg2Svg\\Dwg2Svg.js:304"
09:13:39: Debug: "<global>() at 125"
I have noticed that there is no
Code: Select all
scripts/Pro/ImportExport/SvgExporter/
Could anyone, please, provide some hints, on the error?
Thanks