Search found 115 matches

by dfriasb
Tue Jan 26, 2021 9:58 pm
Forum: QCAD 'How Do I' Questions
Topic: Command Line Tools
Replies: 2
Views: 213

Re: Command Line Tools

Thanks a lot!
by dfriasb
Mon Jan 25, 2021 9:07 pm
Forum: QCAD 'How Do I' Questions
Topic: Command Line Tools
Replies: 2
Views: 213

Command Line Tools

Hello all, I'm trying to use dwg2dwg command line tool with qcad-3.24.3-pro-linux-x86_64. I'm getting "No such file or directory" when trying to execute it in shell. I was looking in dwg2dwg file and I found it is asking for this file: scripts/Pro/Tools/Dwg2Pdf/Dwg2Pdf.js I have no Pro folder inside...
by dfriasb
Thu Dec 17, 2020 10:25 am
Forum: QCAD 'How Do I' Questions
Topic: Lineweights in model space
Replies: 1
Views: 290

Lineweights in model space

Hello all, It's great that you can see different lineweights in model space when you have Screen-based linetypes activated. I would like to know it it is possible to change its behavior; I would like to see thicker lines from 0.25mm or 0.35mm, instead of 0.50mm like it is right now. I is possible an...
by dfriasb
Tue Jul 07, 2020 8:03 am
Forum: Chat
Topic: The World according to QCAD
Replies: 22
Views: 39431

Re: The World according to QCAD

Welcome!
by dfriasb
Sun May 10, 2020 9:26 pm
Forum: Finished 'Ready to go' Scripts/Plug-in's
Topic: Orphanize layers
Replies: 0
Views: 4562

Orphanize layers

Hello all,

I was looking for the way to move away all child layers from its parent layer. I didn't find it, so I made a small script than can do that. You only have to type on the script the name of the parent layer.

I hope you can find it useful.
by dfriasb
Sat May 09, 2020 12:19 pm
Forum: QCAD 'How Do I' Questions
Topic: Easiest way to link data to an object?
Replies: 11
Views: 3352

Re: Easiest way to link data to an object?

By the way, is there any way to create Custom Properties with Tittle different from "QCAD" inside QCAD application? And any idea of how could it be outside?
by dfriasb
Sat May 09, 2020 10:30 am
Forum: QCAD 'How Do I' Questions
Topic: Easiest way to link data to an object?
Replies: 11
Views: 3352

Re: Easiest way to link data to an object?

I have made a function that prints into command line all Custom Properties from selected entities. I hope someone can find it useful. I'm planning to write some similar function to print this data into csv in order to export to spreadsheets.
Best regards, David.
queryCustomPropertiesFromSelection.js
(928 Bytes) Downloaded 95 times
by dfriasb
Fri May 08, 2020 10:14 am
Forum: QCAD 'How Do I' Questions
Topic: Easiest way to link data to an object?
Replies: 11
Views: 3352

Re: Easiest way to link data to an object?

andrew wrote:
Fri Jan 06, 2017 3:37 pm
If you are looking for an ID to use as reference, you can use the object handle for this (see property editor). The handle of an object is persistent (stored to DXF/DWG).
So entity Id only works on dxf, do it?
by dfriasb
Tue May 05, 2020 3:00 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: script not working
Replies: 2
Views: 956

Re: script not working

Thank you Andrew,

Now it's working also for me. I moved to /Misc and changed DFa.js by EAction.js. So I think the bug is in my DFa.js file.

Regards, David.
by dfriasb
Mon May 04, 2020 3:34 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: Store/Use Position scripts
Replies: 1
Views: 665

Store/Use Position scripts

Hello all,

I was looking for the code of these scripts in https://www.qcad.org/doc/qcad/latest/de ... 22cb3.html but I can't find Misc/Information directory. Is it somewhere else? Thanks so much!

David
by dfriasb
Sat May 02, 2020 3:51 pm
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: script not working
Replies: 2
Views: 956

script not working

Dear all, I have reviewed this code many times but I can't find what is not working. When I paste the central part in QCAD script console it works great, but not when try it as a command. I guess it is something related with guiAction; looks like action is not completed... Any help will be very welc...
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: 1152

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: 1165

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 Developers and Contributors
Topic: addSimpleText - need help
Replies: 4
Views: 4430

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.

Go to advanced search