Search found 9024 matches

by andrew
Tue Jan 27, 2015 2:31 pm
Forum: QCAD 'How Do I' Questions
Topic: Use of DIM Scale in Imperial drawings ...
Replies: 4
Views: 4507

Re: Use of DIM Scale in Imperial drawings ...

I suppose you could enter '3' or '3:1' in the scale input while creating the dimension(s), but I have a feeling that this was probably not your question (?)
Screen Shot 2015-01-27 at 14.32.32.png
Screen Shot 2015-01-27 at 14.32.32.png (143.98 KiB) Viewed 4494 times
by andrew
Tue Jan 27, 2015 10:45 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: [SOLVED] C++,Modifyng entities moves them to current layer
Replies: 2
Views: 5725

Re: C++,Modifyng entities moves them to currently selected l

Try:
modOp->addObject(entity, false);
False here indicates that you don't want to use the current attributes and layer for the entity (default).
by andrew
Mon Jan 26, 2015 3:38 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: [SOLVED] C++ unresolved external
Replies: 10
Views: 12175

Re: C++ unresolved external

I am not including the qcad/shared.pri in our .pro file, I didn't realise I needed too, I will have a look now. It's not strictly required but should make things easier. Otherwise, you will have to add some defines to your pro file, most notably: DEFINES += QCAD_DLL This ensures that classes, membe...
by andrew
Mon Jan 26, 2015 1:23 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: [SOLVED] C++ unresolved external
Replies: 10
Views: 12175

Re: C++ unresolved external

OK, thanks.
Are you compiling / linking a plugin, an additional library or an application?
Are you including qcad/shared.pri in your .pro?
by andrew
Mon Jan 26, 2015 11:42 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: [SOLVED] C++ unresolved external
Replies: 10
Views: 12175

Re: C++ unresolved external

Strange. It sure looks like the qcadcore is not loaded or that the symbols are not being exported. Are you using the default .pro files provided with the QCAD sources or your own setup? Are you linking against the QCAD DLLs or static libraries?
by andrew
Mon Jan 26, 2015 11:38 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: XML Import Fails
Replies: 9
Views: 10036

Re: XML Import Fails

You could include your importer.js in FMBodice.js: include("importer.js"); Alternatively, you could have all in one file (FMBodice.js). Note that you still have an action (i.e. separate tool) defined in importer.js (ExXmlImport). Since I think that FMBodice is your actual tool, that one you want to ...
by andrew
Mon Jan 26, 2015 11:24 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: [SOLVED] C++ unresolved external
Replies: 10
Views: 12175

Re: C++ unresolved external

OK, thanks. Did you compile the QCAD sources yourself or are you using the DLLs from one of our downloadable packages?
by andrew
Mon Jan 26, 2015 10:29 am
Forum: QCAD 'How Do I' Questions
Topic: Command Line
Replies: 2
Views: 3683

Re: Command Line

I'm not sure I understand your question correctly.

Yes, you can enter the size in the command line, exactly the way how you proposed.

Please try it:
- Draw > Lines > Line from 2 Points
- Set start point
- Enter "@10<90" in the command line. Press the Enter key on your keyboard.
by andrew
Mon Jan 26, 2015 10:23 am
Forum: QCAD 'How Do I' Questions
Topic: Auto deselecting of lines
Replies: 3
Views: 4113

Re: Auto deselecting of lines

Most of the advanced selection tools offer options to replace the current selection, add to the current selection, remove from selection or intersect with the current selection:
http://qcad.org/doc/qcad/latest/referen ... doc/Select
by andrew
Mon Jan 26, 2015 10:01 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: [SOLVED] Retrive attributes from blocks
Replies: 7
Views: 10781

Re: Retrive attributes from blocks

Block definitions ( RBlock ) can contain attribute definition entities ( RAttributeDefinitionEntity ). The value of block attributes is stored in attribute entities ( RAttributeEntity ) which are stored at the same level as the block reference entity they belong to. Finding all block attribute defin...
by andrew
Mon Jan 26, 2015 9:50 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: [SOLVED] C++ unresolved external
Replies: 10
Views: 12175

Re: C++ unresolved external

Please indicate what platform and platform version you are on (Windows, Linux, Mac OS X) and what compiler and compiler version you are using (gcc, clang, mingw, msvc, etc). Thanks.
by andrew
Fri Jan 23, 2015 5:04 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: XML Import Fails
Replies: 9
Views: 10036

Re: XML Import Fails

The ExXmlImport is much more involved with more dependencies than the Export. I'll need the Import process at the top of my page to iterate the XML and place the values in my variables for use later in drawing. Can I create my own ExXmlImport that returns a multi-dimensional array within my FMMeasu...
by andrew
Fri Jan 23, 2015 4:42 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: XML Import Fails
Replies: 9
Views: 10036

Re: XML Import Fails

First, let me recommend to structure your XML file differently (if you can): <?xml version="1.0" encoding="utf-8"?> <resources> <resource name="CenterFrontF" measurement="22.34"/> <resource name="FullLengthF" measurement="45.86"/> <resource name="ShoulderSlopeF" measurement="34.38"/> </resources> Ba...
by andrew
Fri Jan 23, 2015 3:11 pm
Forum: QCAD Programming, Script Programming and Contributing
Topic: Order of main menu
Replies: 1
Views: 4407

Re: Order of main menu

or do I have to programaticly use QT to shuffle the main menu entries? Yes, this might be your best (only?) option if your scripts are not wrapped as resources into a C++ plugin. QCAD automatically initialises scripts (i.e. calls the init function of scripts) which are resources embedded in plugins...
by andrew
Fri Jan 23, 2015 3:01 pm
Forum: Pre-sales Questions
Topic: Limits of custom properties
Replies: 2
Views: 10161

Re: Limits of custom properties

- length of name part - length of value part QCAD itself does not impose any limits on these. However, the DXF / DWG format does. QCAD saves these name / value pairs as one string XData property with the format "key:value" to DXF / DWG. This means that key may not contain a colon ":" and the total ...

Go to advanced search