add text at location in script

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

Moderator: andrew

Forum rules
Always indicate Operating system, QCAD version
Attach Drawing files, Screenshots
Post one question per topic.
Post Reply
Charles Dyer
Junior Member
Posts: 14
Joined: Wed Nov 28, 2018 9:17 pm

add text at location in script

Post by Charles Dyer » Wed May 08, 2019 4:23 am

Linux / qcad-3.21.3.15-pro

I need to add simple text strings at locations in a script.

Is there a simple way to do this similar to addSpline or addLine?

Something like providing text and coordinates as arguments. Possibly other parameters like orientation and size.

Where does one find a listing of functions or methods?

Thanks and cheers,

- charles

User avatar
andrew
Site Admin
Posts: 6074
Joined: Fri Mar 30, 2007 6:07 am

Re: add text at location in script

Post by andrew » Wed May 08, 2019 9:36 am

As part of the QCAD Simple API, there's addSimpleText.

Charles Dyer
Junior Member
Posts: 14
Joined: Wed Nov 28, 2018 9:17 pm

Re: add text at location in script

Post by Charles Dyer » Wed May 08, 2019 12:53 pm

Thanks for that. I missed it in looking there.

Cheers,

- charles

Post Reply

Return to “QCAD 'How Do I' Questions”