I am drawing contour lines for parking lot illumination and I would like them to be labeled. I am doing this programmatically with a Python script that generates a dxf file which read into QCAD (either by opening the file or importing it into another drawing).
What I have so far looks like this:
The problem is I would like the text to mask out the line (a lwpolyline) where it covers it.
I am using ezdxf https://ezdxf.readthedocs.io/en/master/ ... mtext.html and setting text background color (both background fill and specific colors) and it does not show up in QCAD. I have also tried using a wipeout region which is supposed to set an area back to the background color. It also does not show in QCAD.
My question is does QCAD support setting text background colors or wipeout regions? Is there a way to do this from the QCAD program? If there is, then I should be able to figure out the correct way to set this in the dxf file I am creating.
If it does not support this, is there another way to hide the contour line behind the text? I have tried using a hatch region with a solid color, but that requires that I know the background color of the drawing that the contour will be imported into.
Using:
Linux Ubuntu 20.04
QCAD Pro version 3.26.1.0
How to add background color to text
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.
-
- Registered Member
- Posts: 1
- Joined: Sun Apr 04, 2021 11:09 pm
Re: How to add background color to text
I can confirm that neither wipeouts nor text background color are supported in QCAD at this point.