[SOLVED] changing the display of room dimensions in blocks

Use this forum to ask questions about how to do things in QCAD.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
Philsourish
Junior Member
Posts: 13
Joined: Fri Jan 10, 2020 11:06 pm

[SOLVED] changing the display of room dimensions in blocks

Post by Philsourish » Mon Sep 13, 2021 12:14 pm

Hello,
I receive architect's plans with blocks containing area and height displays of rooms in the following form:
area : \A1 ... m \A1 ²
height : \A1 ... m \A1

https://imgur.com/mqrID7Y

see also attached file

I can edit the blocks and remove the "\A1" for each label, but it is tedious.
Is there a way to remove these "\A1" in a more automatic way ?
Thank you in advance for your help

Phil

Versions
QCAD version: 3.26.4.0
Date: Jun 4 2021
Qt version: 5.14.2
Compiler version: gcc 5.4.0
Build date: Jun 4 2021

Architecture: x86_64
OS: Linux
OS version: 20.04
Attachments
__Rez+1.dwg
(196.6 KiB) Downloaded 288 times
Last edited by Philsourish on Mon Sep 13, 2021 4:21 pm, edited 1 time in total.

CVH
Premier Member
Posts: 3468
Joined: Wed Sep 27, 2017 4:17 pm

Re: changing the display of room dimensions in blocks

Post by CVH » Mon Sep 13, 2021 1:18 pm

Hi,
Philsourish wrote:
Mon Sep 13, 2021 12:14 pm
Is there a way to remove these "\A1" in a more automatic way ?
That's a harder one ...

Menu .. Edit .. Find/Replace (RP) finds only 44 occurrences.
I had to revert because not all "\A1" where replaced. :?

:idea: QCAD saves dxf files textual ... :idea:
Saved as dxf one can find 110 times "\A1;" or 166 times "\A1"
Looks like a specific formatting escape.

E.g. Notepad++
Replacing first the "\A1;" by nothing and then the "\A1" by nothing does the trick I presume.

Regards,
CVH
Last edited by CVH on Mon Sep 13, 2021 3:59 pm, edited 1 time in total.

Philsourish
Junior Member
Posts: 13
Joined: Fri Jan 10, 2020 11:06 pm

Re: changing the display of room dimensions in blocks

Post by Philsourish » Mon Sep 13, 2021 3:12 pm

Thank you for your advice,

With Replace Edit: I can find some of the occurrences of "\A1", but the replacement doesn't work on the file itself (both in .dwg and .dxf).

On the other hand it works by editing each block and doing Find Replace "\A1" once and then Find Replace "\A1;"

This is still very tedious

CVH
Premier Member
Posts: 3468
Joined: Wed Sep 27, 2017 4:17 pm

Re: changing the display of room dimensions in blocks

Post by CVH » Mon Sep 13, 2021 3:20 pm

Philsourish wrote:
Mon Sep 13, 2021 3:12 pm
With Replace Edit: I can find some of the occurrences of "\A1", but the replacement doesn't work on the file itself (both in .dwg and .dxf).
I saved your file as DXF.
Openend the DXF in Notepad++
With Notepad++ replaced all "\A1;" by nothing and then the "\A1"
Saved the file back under Notepad++.

DXF Looks fine when I load it under QCAD. :P
__Rez+1_revCVH.dxf
(1.58 MiB) Downloaded 291 times

One can save this back to dwg with QCAD. :wink:

Regards,
CVH
Last edited by CVH on Mon Sep 13, 2021 4:00 pm, edited 1 time in total.

Philsourish
Junior Member
Posts: 13
Joined: Fri Jan 10, 2020 11:06 pm

Re: changing the display of room dimensions in blocks

Post by Philsourish » Mon Sep 13, 2021 3:36 pm

Thank you, the result is perfect!
but unfortunately Notepad++ does not work on Linux.
I will look for an equivalent editor to Notepad++ (or use a Windows PC)

CVH
Premier Member
Posts: 3468
Joined: Wed Sep 27, 2017 4:17 pm

Re: changing the display of room dimensions in blocks

Post by CVH » Mon Sep 13, 2021 3:52 pm

Philsourish wrote:
Mon Sep 13, 2021 3:36 pm
but unfortunately Notepad++ does not work on Linux.
Any plain text editor will do ... :wink:
CVH

Philsourish
Junior Member
Posts: 13
Joined: Fri Jan 10, 2020 11:06 pm

[SOLVED]changing the display of room dimensions in blocks

Post by Philsourish » Mon Sep 13, 2021 4:17 pm

Yes, it works! :D
many thanks for the help

Post Reply

Return to “QCAD 'How Do I' Questions”