Autotext line breaks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2008-01-22
09:53 PM
- last edited on
2023-05-19
04:02 PM
by
Gordana Radonic
We have tried typing the required text in a normal text field and copy/paste into layout name, but this does not work.
A search revealed that wish linked above, hence the double post.
Cheers

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2008-01-23 02:36 AM
What are you trying to do? I have hard returns in the autotext from my project information. The returns are placed in the Project info text box and not on the layout. Does this fix it for you or are you trying to put returns into autotext from the system or somewhere else that might not allow that control?
AC 19 6006 & AC 20
Mac OS 10.11.5
15" Retina MacBook Pro 2.6
27" iMac Retina 5K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2008-01-23 03:53 AM
so we get
LAYOUT PLANS
GROUND AND FIRST FLOOR
and not
LAYOUT PLANS GROUND AND FIRST
FLOOR
We have #LayoutName autotext elements in the Master.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2008-01-23 06:06 AM
s2art wrote:I can't remember if it is "/n" or "\n" (without the quotes) that forces a line break in text.
We are trying to control the point at which Layout names "break" or drop down a line
so we get
LAYOUT PLANS
GROUND AND FIRST FLOOR
and not
LAYOUT PLANS GROUND AND FIRST
FLOOR
We have #LayoutName autotext elements in the Master.
Does it help if you use this in the layout name?
Barry.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2008-01-23 06:07 AM
Hmmm, now I see what you are trying to do. Unfortunately I don't have an answer for this one. I smells of the general text formating limitations we face in a number of areas with AC.
Perhaps someone more versed has a work around? .......
AC 19 6006 & AC 20
Mac OS 10.11.5
15" Retina MacBook Pro 2.6
27" iMac Retina 5K

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2008-01-23 02:47 PM
As a workaround could you use a simple GDL text block placed on the master with two PARAGRAPHS containing the Autotext? .. one for Subset Name (Layout Plans?) and one for Layout Name (Ground and First Floor?)
it may not give you the file names you want when Publishing to PDF though (or it may .. ive just been to a Bjork concert so im not really in an AC mindspace right now)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2008-01-23 08:26 PM
Barry wrote:Doesn't work for me, thanks.
I can't remember if it is "/n" or "\n" (without the quotes) that forces a line break in text.
Does it help if you use this in the layout name?
Barry.
owen wrote:I suppose you could just use two lines of text with separate autotext fields in them. Not a bad idea. I would probably try it the other way though, putting all my plan layouts in a Subset called "Ground and First Floors" with the Layout Names then being "Construction Plans", Electrical Plans", "Framing Plans", "Bracing Plans" etc. (mostly 2 storey residential type work, having type of plan as subset name would require LOTS of subsets).
As a workaround could you use a simple GDL text block placed on the master with two PARAGRAPHS containing the Autotext? .. one for Subset Name (Layout Plans?) and one for Layout Name (Ground and First Floor?)
We'll give it a go.
owen wrote:I can understand that.
(ive just been to a Bjork concert so im not really in an AC mindspace right now)


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2008-01-24 11:26 AM
s2art wrote:I think this works only when the text you enter is used by some GDL object.Barry wrote:Doesn't work for me, thanks.
I can't remember if it is "/n" or "\n" (without the quotes) that forces a line break in text.
Does it help if you use this in the layout name?
Barry.
The reason is that \n is a character string that has any meaning only in GDL.
For example, if you use the \n characters once in the name of a Zone Stamp, it will break it into two lines (of course it will mess it up because now that line of the Zone Stamp which is supposed to be one line is now two lines, and other parts of the Zone Stamp's 2D Script "think" it is one line so it will overflow other texts in the Zone Stamp.)
This of course could be solved - in case anyone is interested - because you could check in the GDL code any line of the Zone Stamp to see if it has \n character string in it and then use the ADD2 command before drawing the next line of text below it accordingly to shift it by the correct distance. (Sorry if this does not make much sense to many, I am adding it for GDL guys.)
AutoTexts are not GDL so they cannot use this trick.
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2008-01-24 12:38 PM
laszlonagy wrote:So what trick
AutoTexts are not GDL so they cannot use this trick.

I haven't fouind one yet.
Cheers,
Link.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2008-01-24 03:08 PM

AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28