I felt the same need and actually I don't understand why the user interface of QCad doesn't have a convenient way to define such start-up settings...
According to the documentation it should be possible to put these definitions into a script named autostart.qs
which is executed when the program starts.
However, the documentation of the scripting function is neither very convenient nor complete...
Running Windows it was absolutely unclear where to put the autoexec.qs
script. Again, according to the documentation, putting it into the scripts
subdirectory of the QCad installation should be sufficient - well it was not.
Also all different locations where Windows (7) keeps user related data didn't work. Finally I found my personal settings file qcad.ini
So I thought that placing autostart.qs
into this directory could do the trick - well it didn't...
Then I had a look into this configuration file only to see that the entry for the scripting directory (among others) was empty. I set it to the path of the scripts
directory of my QCad installation and now I have a working start-up script.
Code: Select all
Scripts=C:/Program Files/QCAD Professional/scripts
Now I only miss the possibility to not only set color and line width but also the style of the layers I define in my autostart.qs
script as advertised in the documentation:
Pen - Wrapper around pen attributes (color, line type, line width).