Page 1 of 1

can the width of line be user-defined?

Posted: Sun Nov 13, 2016 3:16 am
by liguosheng
In RLineweight class, there is a variable of enum Lineweight, it has some values, can a new value be added? for example, 'Weight027 = 27' is added between 'Weight025 = 25' and 'Weight030 = 30'.
In fact, the new value can't be appeared into the RLineweightCombo after test.

Re: can the width of line be user-defined?

Posted: Mon Nov 14, 2016 8:34 am
by andrew
These line weights are fixed for files in the DXF/DWG format. You can try to add your own and most likely it will work just fine in QCAD. However, other DXF/DWG application will likely refuse to load such a non-conforming file.

Re: can the width of line be user-defined?

Posted: Wed Nov 16, 2016 1:39 am
by liguosheng
thanks andrew, i found where it's added.