Interactive 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

Interactive Script shell

Post by BJohnny » Fri Apr 14, 2023 9:42 am

Hello,

QCAD interactive script shell

Beyond this link
https://www.qcad.org/en/tutorial-intera ... pt-actions

Is there any link
to example with interactive script prompt
asking for a parameter and then saveing same parameter?

[QCAD 3.26.4.0 (3.26.4)
Windows 11]

Kind regards

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

Re: Interactive Script shell

Post by CVH » Fri Apr 14, 2023 11:00 am

Hello,

There are not much tutorials out there but one considers all open source scripts as fine examples.
See: https://github.com/qcad/qcad

For some simple API dialog methods see:
https://github.com/qcad/qcad/blob/55d15 ... e_input.js

Another that comes to my mind is:
https://github.com/qcad/qcad/tree/611a1 ... entWidgets

If that doesn't answer your questions then start a topic in this forum:
QCAD Programming, Script Programming and Contributing

An example code snippet of what you want to achieve may say more than words. :wink:
(Included in a code pane is preferable)

Regards,
CVH

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

Re: Interactive Script shell

Post by BJohnny » Fri Apr 14, 2023 5:38 pm

Thanks a lot CVH

Post Reply

Return to “QCAD 'How Do I' Questions”