Discussion forum for contributors and developers who are using the QCAD ECMAScript development platform or the C++ plugin interface or who are otherwise looking to contribute to QCAD (translations, documentation, etc).
8 posts • Page 1 of 1
Please allow me to refer you to this detailed post about entity attributes:
by "Fixed Attributes", the width of line can be edited. However, i want to change a line which its' property isn't 'by layer', its' width must be setted by code. When 'setLineweight' is be usede, its' width cann't be changed, its' color can be changed. Why?
setLineweight will set the line weight of an entity to any of the available line weights (see http://www.qcad.org/doc/qcad/latest/dev ... bea7d2ac58). RLineweight::WeightByLayer is the default value.
Please start a new topic for new, unrelated questions. Also, please be as specific as possible, provide examples, screenshots, etc. to explain what you are trying to achieve. This will greatly increase the chances of getting a helpful response. Thanks.when a line is finished, i want to draw some different lines according to the path of the line by code automatically