Search found 119 matches

by dfriasb
Tue Apr 28, 2020 10:48 am
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: export entity length and area to external csv file
Replies: 2
Views: 13203

export entity length and area to external csv file

Hello all,

I'm getting some entity properties like length and area from my drawing document with QCAD ecmascript console. I would like to write them to external .csv file. Which is the proper way to do that? Is it with an RExporter?

Any help will be very welcomed. Best regards,

David
by dfriasb
Sun Apr 12, 2020 6:01 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: entity color to lineweight
Replies: 1
Views: 12039

entity color to lineweight

Hello all, I'm writing a script in order to set lineweight of all entities that have specific color. I started with "Dark Green" entities; they should be converted to 0.13mm weight: var document = EAction.getDocument(); var di = EAction.getDocumentInterface(); var entities = document.queryAllEntitie...
by dfriasb
Tue Apr 07, 2020 10:22 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: addSimpleText - need help
Replies: 4
Views: 8394

Re: addSimpleText - need help

Maybe I'm typing wrong, but full set of parameters is not working for me:

Code: Select all

addSimpleText('test', 0, 0, 0.15, 45, "Standard", "VAlignMiddle", "HAlignCenter", false, false)
Any help will be appreciated. Regards,
David.
by dfriasb
Sat Mar 28, 2020 8:40 am
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: set current linetype-lineweight scripts - How to update Pen Toolbar?
Replies: 2
Views: 12950

set current linetype-lineweight scripts - How to update Pen Toolbar?

Hi all, I've written some scripts to set current linetype and lineweight with command line and keyboard input. They are working exactly as I wanted, but Pen Toolbar is not updated when script runs. This is a little bit confusing for me. Can I introduce some function in script to update Pen Toolbar? ...
by dfriasb
Thu Mar 26, 2020 8:59 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: setCurrentLineweight & setCurrentLineweight functions not found
Replies: 2
Views: 12537

setCurrentLineweight & setCurrentLineweight functions not found

Dear all,

I can find and use setCurrentColor in Script Shell, but not setCurrentLineweight or setCurrentLineweight. Is there a way to "load" and use them? I'ld like to use them both in Script Shell and in script files.

Thanks. Best regards,

David
by dfriasb
Sun Mar 22, 2020 10:51 pm
Forum: QCAD Troubleshooting and Problems
Topic: Text edition bug
Replies: 4
Views: 4317

Text edition bug

Hello all, It seems that some bug is happening when editing text Height property with text editor. QCAD is stopping for some seconds (10-20 aprox.). It's happening to me when both creating or editing a text. In order to reproduce this you can: Open the attached file Create new text with T,E Select H...
by dfriasb
Fri Jan 10, 2020 3:22 pm
Forum: QCAD Troubleshooting and Problems
Topic: PDF exports with bigger lineweights than showed in layout
Replies: 4
Views: 3934

Re: PDF exports with bigger lineweights than showed in layout

Thanks Andrew,

:idea: My temporary solution is enlarging drawings into layouts, so line thickness becomes bigger than 0.01 units.
by dfriasb
Fri Jan 10, 2020 11:27 am
Forum: QCAD Troubleshooting and Problems
Topic: PDF exports with bigger lineweights than showed in layout
Replies: 4
Views: 3934

PDF exports with bigger lineweights than showed in layout

Dear all, When I export a Layout to PDF lines are showed with huge lineweight. This seems to start happenning after installing last version of QCAD Pro 3.24.0.0 (3.24.0). I attach dxf file, PDF (result os PDF export of Layout1 block), and screenshot showing how I see layout in my screen (showing lin...
by dfriasb
Sat Dec 07, 2019 3:59 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: How to get currently editing block name in Script Shell
Replies: 1
Views: 12356

How to get currently editing block name in Script Shell

Dear all, I can't find the way to get the Id of the block that I am editing right now. I have all the block Ids with these line: var blockIds = document.queryAllBlocks(); Then I should find "currently editing" block somehow... And then apply: var block = document.queryBlock(blockId); var blockName =...
by dfriasb
Tue Oct 29, 2019 9:26 am
Forum: QCAD Troubleshooting and Problems
Topic: Creating a new block is taking a lot of time
Replies: 7
Views: 8383

Re: Creating a new block is taking a lot of time

Thanks a lot!! Minor change, MAJOR step for blocking fans! :lol: :lol: :lol:
by dfriasb
Sat Oct 26, 2019 10:51 am
Forum: QCAD Troubleshooting and Problems
Topic: Creating a new block is taking a lot of time
Replies: 7
Views: 8383

Re: Creating a new block is taking a lot of time

Dear all, Thanks a lot for reading my post and also for your answers and opinions. I did a test and, in my opinion, there is something not working properly with Block command (B,C). I tell you why: I open Tor11-13v9_qcadForumV2.dxf file I create a Library Item with all the entities that it has (+12....
by dfriasb
Fri Oct 25, 2019 3:38 pm
Forum: QCAD Troubleshooting and Problems
Topic: Creating a new block is taking a lot of time
Replies: 7
Views: 8383

Creating a new block is taking a lot of time

Dear all, I'm attaching a dxf drawing to this post. I'm selecting all its entities with Ctrl+A; then I create a Library Block typing B,T. This operation takes just some seconds (or less) to be completed in my computer. But... when I create a block typing B,C and with exactly the same content/entitie...
by dfriasb
Fri Jul 12, 2019 10:45 am
Forum: QCAD Troubleshooting and Problems
Topic: Importing by drag&drop
Replies: 1
Views: 4415

Importing by drag&drop

Dear all, When I import files drag&dropping the new file is placed usually as a block. I love that. But sometimes it doesn't, and is placed as it is in the original file. I attach the main drawing: Cla4.dxf And also the file I want to import drag&dropping: Cla4.plBaixa.estAct.geom.dxf I this case th...

Go to advanced search