text in script shell

Use this forum to ask questions about how to do things in QCAD.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
BJohnny
Junior Member
Posts: 12
Joined: Fri Nov 12, 2021 11:35 am

text in script shell

Post by BJohnny » Sat Nov 27, 2021 4:39 pm

QCAD (Windows 10)
Version: 3.26.4.0 (3.26.4)

Hi,
need support on syntax adding text in script shell ...

addSimpleText("XYZ",x,y,0,"standard",RS.VAlignTop,RS.HAlignLeft, "not bold","not italic");

(want text centered, not bold, not italic)

appreciate hint on a proper command example

CVH
Premier Member
Posts: 3416
Joined: Wed Sep 27, 2017 4:17 pm

Re: text in script shell

Post by CVH » Sat Nov 27, 2021 5:24 pm

BJohnny wrote:
Sat Nov 27, 2021 4:39 pm
want text centered
RS.VAlignMiddle, RS.HAlignCenter,
See:
https://qcad.org/doc/qcad/3.0/developer ... 165423f1cb
https://qcad.org/doc/qcad/3.0/developer ... a99af76782
BJohnny wrote:
Sat Nov 27, 2021 4:39 pm
"not bold","not italic"
See:
https://qcad.org/doc/qcad/3.0/developer ... 38e26ad26d

Regards,
CVH

BJohnny
Junior Member
Posts: 12
Joined: Fri Nov 12, 2021 11:35 am

Re: text in script shell

Post by BJohnny » Sun Nov 28, 2021 10:25 am

thanks a lot CVH
working just fine now

Regards

Post Reply

Return to “QCAD 'How Do I' Questions”