Have QCAD3 installed in D:\QCAD Professional\QCAD 3.4.4 and it worked just fine with the quickstart from the desktop.
Until I wanted to add a default template, now it quits immedeately after starting up...
I followed the recipy from viewtopic.php?p=5755#p5755, which resulted for me in:
Code: Select all
var mainWindow = RMainWindowQt.getMainWindow();
var doc = mainWindow.getDocument();
var di = mainWindow.getDocumentInterface();
This scriptfile is called GetLayerList.js and is located in the D:\QCAD Professional\QCAD 3.4.4\scripts directory.
The desired template is located in the D:\QCAD Professional\QCAD 3.4.4\libraries\templates directory.
I changed the Target: field in the quickstart link to "D:\QCAD Professional\QCAD 3.4.4\qcad.exe" -exec GetLayerList.js and expected to see a blank drawing with pre-defined layers; intead the program terminates without any warnings or messages...
I assume (dangerous, I know) that I do something not precisely right, but the what and how elude me.