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
			
									
									
						Inserting a line feed in a block attribute
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.
- 
				luggw1
- Active Member
- Posts: 31
- Joined: Sat Oct 13, 2012 10:32 pm
- 
				CVH
- Premier Member
- Posts: 4958
- Joined: Wed Sep 27, 2017 4:17 pm
Re: Inserting a line feed in a block attribute
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
			
									
									
						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
- Husky
- Moderator/Drawing Help/Testing
- Posts: 5054
- Joined: Wed May 11, 2011 9:25 am
- Location: USA
Re: Inserting a line feed in a block attribute
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.
Work smart, not hard:  QCad Pro
QcadPro, QcadCam, Win11/64, 64GB RAM, 10-Core, SSD
If a thread is considered as "solved" pls. change the title of the 1. post to "[solved] Title..."
						QcadPro, QcadCam, Win11/64, 64GB RAM, 10-Core, SSD
If a thread is considered as "solved" pls. change the title of the 1. post to "[solved] Title..."
