Search found 3474 matches

by CVH
Mon Apr 22, 2024 1:49 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: Updating Block attributes
Replies: 4
Views: 142

Re: Updating Block attributes

I will try to find out more about the listener later on.!! I once implemented a listener for 2D Centroids , see: Menu Misc .. Information .. 2D Centroids ... https://github.com/qcad/qcad/blob/master/scripts/Misc/MiscInformation/InfoCentroids/InfoCentroidsListener/InfoCentroidsListener.js One can to...
by CVH
Mon Apr 22, 2024 12:58 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: Updating Block attributes
Replies: 4
Views: 142

Re: Updating Block attributes

Hi, I don't really get the full picture of what is required. Better to test if you queried an attribute before anything else: var attribute = doc.queryEntityDirect(attributeId); if (attribute.isNull()) { continue; } Because your minY of your Block definition is zero you could simply use the Block Re...
by CVH
Sun Apr 21, 2024 6:51 am
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: Regular Expressions in addon Script
Replies: 3
Views: 462

Re: Regular Expressions in addon Script

Just for anyone reading this... the Array.map() does seem to be supported in QCAD scripts Dug deeper and found one standard open source script that uses it: SvgImporter.js (We can not actually search in PRO resources ...) https://github.com/qcad/qcad/blob/master/scripts/ImportExport/SvgImporter/Svg...
by CVH
Sun Apr 21, 2024 5:25 am
Forum: QCAD 'How Do I' Questions
Topic: dragging left/down doesn't select an object
Replies: 4
Views: 394

Re: dragging left/down doesn't select an object

HappyShat,

What QCAD version are you running?
(See above forum rules in red)

From the looks of it, it is at least 3 years old.
A lot of things have been enhanced and/or fixed since then.
See QCAD Changelog:
https://www.ribbonsoft.com/en/documentation/changelog

Regards,
CVH
by CVH
Sat Apr 20, 2024 5:14 am
Forum: QCAD 'How Do I' Questions
Topic: dragging left/down doesn't select an object
Replies: 4
Views: 394

Re: dragging left/down doesn't select an object

Hi, A box selection L->R (bluish) selects all fully inside, R->L (greenish) selects all that that are fully inside and all that cross the selection box. The color scheme seems to be switched somehow from what we were used to and I saw a commit with a fix for that: https://github.com/qcad/qcad/commit...
by CVH
Fri Apr 19, 2024 5:44 am
Forum: QCAD Suggestions and Feedback
Topic: [solved] Changelog
Replies: 5
Views: 366

Re: Solved: Changelog

Sorry CVH..... I did look, but it's only 5:30am.... still got cobwebs.... Nothing to be sorry about, issue isn't really solved. :wink: I only wrote that I remarked the same thing for the fix for dwgexplode (13-15/4/2024) Stipulated that the fix is listed under v3.29.6 and not for the upcoming relea...
by CVH
Fri Apr 19, 2024 5:27 am
Forum: QCAD Suggestions and Feedback
Topic: [solved] Changelog
Replies: 5
Views: 366

Re: Changelog

Hi,
remarked the same thing:
https://www.qcad.org/rsforum/viewtopic. ... 767#p44453

Regards,
CVH
by CVH
Fri Apr 19, 2024 5:26 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: [Solved] DWG to DXF format
Replies: 2
Views: 246

Re: DWG to DXF format

Hi,
It is not really a C++ library ...

You can do that with QCAD Professional using a Command Line tool:
https://www.ribbonsoft.com/en/products/ ... _/_pdf2dwg

You would have to call an external process.

Regards,
CVH
by CVH
Wed Apr 17, 2024 6:54 am
Forum: QCAD/CAM
Topic: Propriété calque
Replies: 3
Views: 370

Re: Propriété calque

jppgc wrote:
Wed Apr 17, 2024 6:45 am
Quelles différences entre ma version et la dernière version que vous présentez dans votre réponse?
Voir le journal des modifications de QCAD (non traduit) :
https://www.ribbonsoft.com/fr/documentation/changelog

Salutations,
CVH
by CVH
Tue Apr 16, 2024 2:29 am
Forum: QCAD/CAM
Topic: Propriété calque
Replies: 3
Views: 370

Re: Propriété calque

Bonjour, Veuillez lire les règles du forum ci-dessus en rouge: Indiquez toujours votre système d'exploitation et votre version de QCAD. :wink: Je ne parviens pas à reproduire le problème sous Windows avec QCAD v3.27.6 et v3.29.4 L'accrochage aux points de terminaison ( SE ), par exemple, ne fonction...
by CVH
Mon Apr 15, 2024 2:36 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: [solved] QTableView Question
Replies: 3
Views: 379

Re: [solved] QTableView Question

andrew wrote:
Mon Apr 15, 2024 9:37 am
use
var header = ["header1", "header2", ...];
Or use

Code: Select all

var header = [];
header.push("header1");
header.push("header2");
...
by CVH
Mon Apr 15, 2024 9:55 am
Forum: QCAD 'How Do I' Questions
Topic: Change default values of Dimension (which are not in the Preferences)
Replies: 3
Views: 440

Re: Change default values of Dimension (which are not in the Preferences)

i cant find the flipped arrow in prefernece drawing. only the size of the arrow. maybe cause of the old version (3.25) Flipped arrows or not can NOT be set in Drawing Preferences. As explained, it is kinda automatic. One can not flip the Architectural tick but the dimension line is then longer. QCA...
by CVH
Mon Apr 15, 2024 8:38 am
Forum: QCAD 'How Do I' Questions
Topic: Change default values of Dimension (which are not in the Preferences)
Replies: 3
Views: 440

Re: Change default values of Dimension (which are not in the Preferences)

Hi, Flipped arrows or not can not be set in Drawing Preferences. It is kind of a hybrid, QCAD determines if the arrows can be inside or not and that is the normal way, the not flipped way. What does Fixed Extension Line and the length value do for you? Over here that doesn't change anything for Line...
by CVH
Mon Apr 15, 2024 7:18 am
Forum: QCAD 'How Do I' Questions
Topic: How to create bat file with sequential operations
Replies: 4
Views: 341

Re: How to create bat file with sequential operations

dwgexplode will support spline entities in the upcoming release/snapshot. See: https://qcad.org/bugtracker/index.php?do=details&task_id=2563 See Changelog listed under 3.29.6: https://qcad.org/en/changelog Oddity: v3.29.6 was released on 2024/03/27 while the fix is issued on 2024/04/13 # EDIT # Cha...
by CVH
Mon Apr 15, 2024 6:43 am
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: Regular Expressions in addon Script
Replies: 3
Views: 462

Re: Regular Expressions in addon Script

Hi, and welcome to the QCAD forum. You didn't provide an example of the input so a few things are left for guessing. :wink: As far I can check it, Array.map(...) is nowhere used and probably not supported by the ECMAScript implementation under QCAD. Consider the ECMAScript engine as an early adoptio...

Go to advanced search