Salve
Sto provando a fare qualcosa in javascript per QCAD prendendo spunti dai Vostri script di esempio, anche se per ora devo ammettere che sono riuscito a fare gran poco, ma insisto
C'è qualche modo per eseguire QCAD in modo che si aggiornino gli script che modifico senza dover riavviare il programma ogni volta?
Ho provato:
"D:\Program Files (x86)\QCAD\qcad.exe" "-always-load-scripts" "-enable-script-debugger" "-rescan"
(Link su Windows)
e
.........../qcad -always-load-scripts -enable-script-debugger -rescan
(Su Ubuntu)
ma non riesco ad aggiornare gli script.
Translation by Google
Hi
I'm trying to do something in javascript to QCAD taking cues from your example script, although so far I have to admit that I was able to do much recently, but I insist
Is there any way to run QCAD sure that you update the scripts that I edit without having to restart the program each time?
I tried:
"D: \ Program Files (x86) \ QCAD \ qcad.exe" "-always-load-scripts" "-enable-script-debugger" "-rescan"
(Link on Windows)
and
........... / qcad -always-load-scripts -enable-script-debugger -rescan
(On Ubuntu)
but I can not update the script.
QCAD run mode -always-load-scripts?
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
-
- Full Member
- Posts: 83
- Joined: Fri Apr 17, 2015 6:40 am
- Location: http://creativitainformaticart.altervista.org
Re: Eseguire QCAD in modalità -always-load-scripts?
-always-load-scripts would be the correct switch but appears to be broken in 3.9.4. This will be fixed for the next release. Thanks for your report.
The -exec switch might also be helpful during development, to automatically run your script on start without having to click a menu or button every time:
./qcad -exec ./script/path/to/MyScript/MyScript.js
The -exec switch might also be helpful during development, to automatically run your script on start without having to click a menu or button every time:
./qcad -exec ./script/path/to/MyScript/MyScript.js