Based on the script examples included in QCAD I built a macro to insert 5 layers in a new document. I found in the qcadscripting Class Reference how to specify line width but I was not able to locate any info about defining the type of line, eg.: dash, dash dot...Is that possible?
Are you considering a macro recorder as in Excel, that's a handy tool when you are not a specialist programmer!
After just a month of use of QCAD, I could not do without it now, nice work.
(QCAD 126.96.36.199 - WIN XP Pro)