Hello,
I'm new to QCad and I got very curious about it. I do really enjoy the work you did on this project.
I'm currently busy with creating a custom linetype. To follow my current knowledge about custom linetypes, there is possibility to insert a Symbol via Unicode(*.shx) into line declaration in *.lin file.
Something like this:
*DRAINAGE2,Drainage reversed----<----<----<----
A,5.08,[RIGHT_ARROW,qcadshp.shx,S=2.54],5.08
It is a good implementation for standard workflow, but I aim for a question, if there is a possibility to call a block (.dxf, dwg), instead of a Unicode, into a line declaration.
Something like this:
*DRAINAGE2,Drainage reversed----<----<----<----
A,5.08,[RIGHT_ARROW,Block.dxf,S=2.54],5.08
The reason I would need this, is to follow the standards (regulations) in which I need to display linear infrastructures (e.g. pipelines, electric power transmission and so on). Those standards are precisely defined and the symbol library would be in this case too little.
I'm looking forward to your answer
Regards
Konfi
Custom Linetype with Block possible?
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Re: Custom Linetype with Block possible?
The symbols used in complex line types have to be glyphs in a QCAD font (e.g. qcadshp.shx in a linetype definition refers to the QCAD font file fonts/qcadshp.cxf).
You could edit the QCAD font file in a text editor or in QCAD itself to add the glyph you need:
https://qcad.org/en/tutorial-editing-cxf-fonts
This will likely require some fiddling to get right but should work.
You could edit the QCAD font file in a text editor or in QCAD itself to add the glyph you need:
https://qcad.org/en/tutorial-editing-cxf-fonts
This will likely require some fiddling to get right but should work.