Call scripts from scripts

Post here to ask questions about or get help with the scripting module of QCAD 2.1/2.2.

Moderator: andrew

User avatar
Premier Member
Posts: 160
Joined: Fri May 28, 2010 7:35 pm

Call scripts from scripts

Post by hungerburg » Thu Sep 09, 2010 3:11 pm

Is there a way to call a script from another script and pass variables from the first one on to the next one?

Eg: I want to have a dialog, that can either start from some defaults or from previously defined values. As there seems to be no way of having a "file open" button in a dialog (only ok, no, cancel... buttons), I would create a new button in qcad's toolbar that displays the file selection and then call out to the real dialogue.



Return to “QCAD 2.1/2.2 Developers”