Search found 34 matches

by pietro_72_
Wed Aug 22, 2018 10:06 am
Forum: QCAD Developers and Contributors
Topic: Do you always need to restart QCAD to test scripts?
Replies: 5
Views: 3048

Re: Do you always need to restart QCAD to test scripts?

Su Ubuntu 18.04.1 LTS 64 bit -always-load-scripts non funziona deepl translation On Ubuntu 18.04.1 LTS 64 bit -always-load-scripts does not work results on Terminal: pietro@pietro-ubuntu-desktop:~$ "/home/pietro/opt/qcadcam-3.20.1-pro-linux-x86_64/qcad" "-always-load-scripts" QCAD version 3.20.1 10:...
by pietro_72_
Tue Jun 05, 2018 9:32 pm
Forum: QCAD Developers and Contributors
Topic: My Program works on QCAD 3.16.7 but does not work on QCAD/CAM 3.20
Replies: 2
Views: 620

My Program works on QCAD 3.16.7 but does not work on QCAD/CAM 3.20

Ciao Ieri ho acquistato QCAD/CAM 3.20 e ho provato a copiare un i file di un mio programma dalla cartella QCAD\scripts\Misc\MiscDraw\OrthogonalProjections\.... di QCAD 3.16.7 ,usato in precedenza (in cui il programma in costruzione funzionava correttamente), nella cartella QCADCAM\scripts\Misc\MiscD...
by pietro_72_
Sat Aug 26, 2017 6:22 pm
Forum: QCAD Developers and Contributors
Topic: Is there a script mode to get the position of the line where an error occurs?
Replies: 0
Views: 4614

Is there a script mode to get the position of the line where an error occurs?

Hello Is there a script mode to get the position of the line where an error occurs? With this code:     try {         .........         .........     }     Catch (e) {       EAction.handleUserMessage ( "");       EAction.handleUserMessage ("Error Start Tracking");       EAction.handleUserMessage (e....
by pietro_72_
Tue Aug 08, 2017 7:02 am
Forum: QCAD Developers and Contributors
Topic: Do you always need to restart QCAD to test scripts?
Replies: 5
Views: 3048

Re: Do you always need to restart QCAD to test scripts?

Thank you

it works

I did QCAD in 2 ways:
"...... \ qcad.exe" "-always-load-scripts" "-enable-script-debugger" "-rescan" // to find bugs

is
 
"....... \ qcad.exe" // running normally without debugger

I did not realize that it was missing from the latter "-always-load-scripts"
by pietro_72_
Sun Jul 30, 2017 5:06 pm
Forum: QCAD Developers and Contributors
Topic: Do you always need to restart QCAD to test scripts?
Replies: 5
Views: 3048

Do you always need to restart QCAD to test scripts?

Ciao a tutti Ho la versione 3.16.7.0 (3.16.7) di QCAD Per testare gli script in ECMAScript dopo le modifiche è sempre necessario riavviare QCAD o ora c'è un altro modo? Translation by google Hello to all I have QCAD version 3.16.7.0 (3.16.7) To test the scripts in ECMAScript after the changes you al...
by pietro_72_
Sun Jul 30, 2017 4:08 pm
Forum: QCAD Developers and Contributors
Topic: How can I get the ID of a polyline I'm drawing?
Replies: 1
Views: 2345

Re: How can I get the ID of a polyline I'm drawing?

I resolved this way:

Var pl = new RPolylineEntity (document, new RPolylineData ());
......
.......
......
EAction.handleUserMessage ("Polyline ID =" + pl.getId ());
by pietro_72_
Wed Jul 26, 2017 9:29 pm
Forum: QCAD Developers and Contributors
Topic: How can I get the ID of a polyline I'm drawing?
Replies: 1
Views: 2345

How can I get the ID of a polyline I'm drawing?

Hello

How can I get the ID of a polyline I'm drawing?
by pietro_72_
Thu Jun 15, 2017 1:50 pm
Forum: QCAD Developers and Contributors
Topic: How can I create polylines?
Replies: 4
Views: 2819

Re: How can I create polylines?

Well, maybe I do not need it, I've seen that fills can even be done without closing a polyline made of straight lines
by pietro_72_
Thu Jun 15, 2017 8:06 am
Forum: QCAD Developers and Contributors
Topic: How can I create polylines?
Replies: 4
Views: 2819

Re: How can I create polylines?

I saw to close the polyline with "scripts / simple_create.js",
But to close the polyline with the full code?

Thank you
by pietro_72_
Mon Jun 12, 2017 11:39 am
Forum: QCAD Developers and Contributors
Topic: Modify the toolbar at run-time?
Replies: 1
Views: 2391

Modify the toolbar at run-time?

Hello

Can I change the toolbar depending on the option you choose on a QComboBox on the same toolbar?
by pietro_72_
Mon Jun 12, 2017 11:32 am
Forum: QCAD Developers and Contributors
Topic: Can I set the design order of the entities?
Replies: 1
Views: 2197

Can I set the design order of the entities?

Hello

Can I set the design order of the entities?

(Always via ECMA Script)
by pietro_72_
Mon Jun 12, 2017 11:29 am
Forum: QCAD Developers and Contributors
Topic: How do I create full-color fills/hatchs on polylines?
Replies: 1
Views: 2430

How do I create full-color fills/hatchs on polylines?

Hello

How do I create full-color fills/hatchs on polylines?
by pietro_72_
Mon Jun 12, 2017 11:27 am
Forum: QCAD Developers and Contributors
Topic: How can I create polylines?
Replies: 4
Views: 2819

How can I create polylines?

Hello

How can I create polylines?
(I'm currently looking at scripts/Draw/Polyline/DrawPolyline/DrawPolyline.js)

Go to advanced search