Dear all,
I can find and use setCurrentColor in Script Shell, but not setCurrentLineweight or setCurrentLineweight. Is there a way to "load" and use them? I'ld like to use them both in Script Shell and in script files.
Thanks. Best regards,
David
setCurrentLineweight & setCurrentLineweight functions not found
Moderators: andrew, Husky, J-J
Re: setCurrentLineweight & setCurrentLineweight functions not found
Looked it up:
https://www.qcad.org/doc/qcad/3.0/devel ... ml#index_s
...
•setCurrentColor() : RDocument , RDocumentInterface , RStorage
•setCurrentLinetype() : RDocument , RDocumentInterface , RStorage
•setCurrentLineweight() : RDocument , RDocumentInterface , RStorage
So all 3 are equally implementent.
Would be handy to know:
The use of setCurrentColor() that works for you.
The others that fail.
A Typo maybe?
Regards,
CVH
https://www.qcad.org/doc/qcad/3.0/devel ... ml#index_s
...
•setCurrentColor() : RDocument , RDocumentInterface , RStorage
•setCurrentLinetype() : RDocument , RDocumentInterface , RStorage
•setCurrentLineweight() : RDocument , RDocumentInterface , RStorage
So all 3 are equally implementent.
Would be handy to know:
The use of setCurrentColor() that works for you.
The others that fail.
A Typo maybe?
Regards,
CVH
- dfriasb
- Senior Member
- Posts: 119
- Joined: Thu Mar 10, 2016 1:08 pm
- Location: Calafell, Tarragona, Spain
Re: setCurrentLineweight & setCurrentLineweight functions not found
It's working in custom scripts. Thanks CVH!