Page 1 of 1
Inserting a line feed in a block attribute
Posted: Mon Sep 11, 2023 3:32 am
by luggw1
I'm using one of the ANSI drawing formats provided by one of the other folks on this forum (whose name I can't remember at the moment). It includes block attributes to assist in filling out the title block. Is there a way to insert a line feed (carriage return) in a block attribute so you can get more than one line in the Title, for example?
I'm using QCAD v3.28.1 Pro on Linux Mint.
Thanks
Bill Lugg
Re: Inserting a line feed in a block attribute
Posted: Mon Sep 11, 2023 6:27 am
by CVH
Hi,
It seems that QCAD only supports simple text as block attributes per GUI.
There is no simple property and "\P" is not handled as newline.
block attributes have a (column) width property but that is not functional as simple text.
The simple property can be set/cleared with scripting.
When cleared one can use an attribute text on several lines with "\P" as newline or a column width.
Then the simple property is still not listed in the Property Editor for a block attribute.
Also remark that there is no Text Editor widget displayed for block attributes.
The file is not saved and reloaded with formatted attribute text thus a tweaking script is no solution.
Perhaps a feature request is in order here because multi-line attributes are supported by other applications.
One can select only the attribute (See App.Prefs. ... Graphics View ... Behaviour) and explode (XP) it to a text entity.
Regards,
CVH
Re: Inserting a line feed in a block attribute
Posted: Tue Sep 12, 2023 3:28 am
by Husky
luggw1 wrote: ↑Mon Sep 11, 2023 3:32 am
Is there a way to insert a line feed (carriage return) in a block attribute so you can get more than one line in the Title, for example?
Yes and no. My workaround is to use 1 or 2 additional block attributes what builts then an e.g 2 or 3 line Title.