Search found 10 matches

by daniel_frac
Fri Mar 13, 2020 1:03 pm
Forum: QCAD 'How Do I' Questions
Topic: How do I run "Polyline From Selection"
Replies: 7
Views: 1071

Re: How do I run "Polyline From Selection"

Also is there a way to do it rather than by selecting, but using a list of entities or id's?
by daniel_frac
Fri Mar 13, 2020 12:55 pm
Forum: QCAD 'How Do I' Questions
Topic: How do I run "Polyline From Selection"
Replies: 7
Views: 1071

Re: How do I run "Polyline From Selection"

Is the tolerance a parameter a single floating nunber or a vector like new RVector(1.0e-3, 1.0e-3)
by daniel_frac
Fri Mar 13, 2020 10:45 am
Forum: QCAD 'How Do I' Questions
Topic: How do I run "Polyline From Selection"
Replies: 7
Views: 1071

Re: How do I run "Polyline From Selection"

Sorry I forgot to mentioned I want to run this as a script no interactively
by daniel_frac
Thu Mar 12, 2020 5:15 pm
Forum: QCAD 'How Do I' Questions
Topic: How do I run "Polyline From Selection"
Replies: 7
Views: 1071

How do I run "Polyline From Selection"

I'm a QCAD 3.23.0.0 (3.23.0) x86_64 Windows 10 Pro/user I would like to create polylines from all the segments in my document. Something along the lines of: include("scripts/Pro/Draw/Polyline/PolylineFromSelection/PolylineFromSelection.js"); var ids = doc.queryAllEntities(); var op = new RMixedOpera...
by daniel_frac
Tue Jan 28, 2020 1:14 pm
Forum: QCAD 'How Do I' Questions
Topic: How do I run a script that takes stdin commands
Replies: 5
Views: 949

Re: How do I run a script that takes stdin commands

Hi Yeah that's exactly what I do. In fact my launch script code is: qcad.exe -platform offscreen -no-gui -allow-multiple-instances -quit -ignore-script-files -autostart myscript.js The problem is that even with -ignore-script-files it seem to take 0.5 sec to load every instance of the execution. I h...
by daniel_frac
Mon Jan 27, 2020 4:10 pm
Forum: QCAD 'How Do I' Questions
Topic: How do I run a script that takes stdin commands
Replies: 5
Views: 949

Re: How do I run a script that takes stdin commands

Dear support But all this is provided that qcad is a run as a full foreground application, like running the program as "C:\\Program Files\\QCAD\\qcad.exe" which would launch the gui. if I run QCAD as "C:\\Program Files\\QCAD\\qcad.exe" -platform offscreen -no-gui your suggestion doesn't seem to work...
by daniel_frac
Thu Jan 23, 2020 11:22 am
Forum: QCAD 'How Do I' Questions
Topic: How do I run a script that takes stdin commands
Replies: 5
Views: 949

How do I run a script that takes stdin commands

Dear Support I'm using QCAD 3.24 professional in Windows. I'm creating a CLI script, that ideally can interact with a session and take stdin command prompts. The reason for this because loading the qcad executable every time I want to run the same script is slow about 0.5 sec, so I would like to kee...
by daniel_frac
Mon Jan 20, 2020 4:59 pm
Forum: QCAD Developers and Contributors
Topic: How to develop ECMAScript in and IDE to do object autofil
Replies: 0
Views: 2246

How to develop ECMAScript in and IDE to do object autofil

Dear Support I'm using QCAD 3.24 professional in Windows. I writing a series of ECMAScript scripts in VSCODE and lately the process is becoming somehow cumbersome for the following reason: 1) Cannot integrate the QCAD script terminal with my IDE enviroment, I have to run the script in the background...
by daniel_frac
Tue Dec 17, 2019 3:01 pm
Forum: QCAD 'How Do I' Questions
Topic: How do I run "Detect Duplicates MD" programatically?
Replies: 3
Views: 1127

Re: How do I run "Detect Duplicates MD" programatically?

Which module library Duplicates is? in my script I have include("scripts/library.js"); include("scripts/simple.js"); and I get an error when running: Duplicates.findDuplicates(di, true, 0.001, 0.001, true); Warning: RScriptHandlerEcma::eval: script engine exception: "ReferenceError: Can't find varia...
by daniel_frac
Tue Dec 10, 2019 12:22 pm
Forum: QCAD 'How Do I' Questions
Topic: How do I run "Detect Duplicates MD" programatically?
Replies: 3
Views: 1127

How do I run "Detect Duplicates MD" programatically?

Dear Support I'm trying to create a script that cleans DXF files automatically, for our internal process. Part of our cleaning operations require to delete duplicate entities, I would like to do this automatically on a jvscript but I cannot find any reference of "Detect Duplicates" on https://www.ri...

Go to advanced search