Search found 83 matches

by pietro_72_
Thu Jan 02, 2020 11:33 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: Problem with di.applyOperation (op);
Replies: 13
Views: 12933

Re: Problem with di.applyOperation (op);

ok I will try, I will use and text my program On QCAD / CAM that I purchased some time ago, meanwhile thanks, I thought, if possible, that I could make sure that your FlexPainter program allows users to create arbitrary forms to follow path :) , or already does it?
by pietro_72_
Thu Jan 02, 2020 10:03 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: Problem with di.applyOperation (op);
Replies: 13
Views: 12933

Re: Problem with di.applyOperation (op);

Running QCAD from Terminal you can see these messages:
by pietro_72_
Thu Jan 02, 2020 9:35 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: Problem with di.applyOperation (op);
Replies: 13
Views: 12933

Re: Problem with di.applyOperation (op);

I can't use the debugger mode, if QCAD shuts down before I get to my script:
viewtopic.php?f=30&t=6810
by pietro_72_
Thu Jan 02, 2020 9:16 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: Problem with di.applyOperation (op);
Replies: 13
Views: 12933

Re: Problem with di.applyOperation (op);

Thanks, I also tried with RAddObjectsOperation, it continues to give me the same problem
by pietro_72_
Thu Jan 02, 2020 6:36 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: Problem with di.applyOperation (op);
Replies: 13
Views: 12933

Problem with di.applyOperation (op);

Hello I have a problem with di.applyOperation (op); in row 1161 QCAD turns off, I tried to insert it at various points in the code, but QCAD keeps turning off, just commenting it doesn't turn off. I attach files http://creativitainformaticart.altervista.org/temporanei/Screencast%202020-01-02%2016:49...
by pietro_72_
Thu Dec 26, 2019 5:32 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: I can't change the color of an entity
Replies: 2
Views: 4099

I can't change the color of an entity

Hello
I can't change the color of an entity made with QCAD Simple API
I did some tests (see around line 662 of the attached code) also taking inspiration from https://qcad.org/rsforum/viewtopic.php? ... olor#p8279
by pietro_72_
Tue Dec 24, 2019 9:11 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: happy Holidays
Replies: 0
Views: 4624

happy Holidays

happy Holidays
by pietro_72_
Fri Dec 13, 2019 8:17 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: Get the line number of an error
Replies: 2
Views: 4033

Re: Get the line number of an error

Thanks, I tried using .../qcadcam-3.20.1-pro-linux-x86_64/qcad" "-always-load-scripts" "-enable-script-debugger" "-rescan", but after the third continues the program turns off
by pietro_72_
Thu Dec 12, 2019 8:08 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: Get the line number of an error
Replies: 2
Views: 4033

Get the line number of an error

Hi Is it possible to get the line number of the code in which an error occurs with the following system? try {      .......      ............      ......... } catch (e) {      EAction.handleUserMessage ("");      EAction.handleUserMessage ("Start error tracking");      EAction.handleUserMessage (e.n...
by pietro_72_
Fri Dec 06, 2019 9:48 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: How to get the id of an entity with a clik and / or with the pointer overlap
Replies: 3
Views: 4799

How to get the id of an entity with a clik and / or with the pointer overlap

Hi
How can I get the id of a point entity when I click on it with the mouse and / or when I go over it with the mouse pointer
by pietro_72_
Wed Nov 27, 2019 12:04 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: Loss of Script operation after using snaps
Replies: 5
Views: 10857

Re: Loss of Script operation after using snaps

I was able to solve the problem in the following way: ..... ..... 204 OrthogonalProjections.prototype.reloadingDataUI = function() { ...... ..... .... 645                     try {                          this.nameIdObj3D = this.idObj3D.displayText;                      }                      catch...
by pietro_72_
Mon Nov 04, 2019 9:31 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: How do I go about recalling a method from an event
Replies: 1
Views: 3820

Re: How do I go about recalling a method from an event

Searching for solutions on https://github.com/qcad/qcad/ have managed to solve this problem as follows:

operativeMode ['currentIndexChanged (int)']. connect (this, "operativeModePres");

From here maybe I can solve the previous problem:
"Loss of script operation after using snaps"

Go to advanced search