Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

How to enter a carriage return in a Sheet Set titleblock field?

jeff_rivers
Advisor

How to enter a carriage return in a Sheet Set titleblock field?

jeff_rivers
Advisor
Advisor

My titleblock uses sheet set fields for all the text entries now, and the sheet title is multiline text tied to the Sheet Title field.  For one sheet the actual sheet title is too long for the first line so it wraps down to the second line automatically.  Great so far, except that the break where it wraps is at an awkward place with respect to the text.  Is there a way to code a hard linebreak into a Sheet Set field?  

 

That is, what I get is:

PEDESTRIAN BEACON AT 117TH ST

W

 

What I'd rather see is: 

PEDESTRIAN BEACON 

AT 117TH ST W

 

I tried using the /P but Sheet Set manager really doesn't like that. So as a workaround I put a bunch of spaces in the sheet title to move the linebreak where I want it to be but that seems crude.  Is there a way to code a linebreak into a sheet set title where I want it to be?    


Jeffrey Rivers
Win 10 Pro 64-bit, Intel i9 3.7GHz, 64 GB
NVIDIA RTX A4000
C3D 2020 V13.2.89.0
0 Likes
Reply
4,619 Views
32 Replies
Replies (32)

roskirko
Collaborator
Collaborator

Do you mean to use Alt-Enter for a new line?

Geographic Information Systems
Fanshawe College
0 Likes

rl_jackson
Mentor
Mentor

How about trying this

 

https://forums.autodesk.com/t5/autocad-forum/find-replace-mtext-carriage-return/m-p/7836706


Rick Jackson
Survey CAD Technician VI

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes

jeff_rivers
Advisor
Advisor

Same result, I get the error that SSM doesn't like symbols: 

 

SSM UNHAPPY WITH CONTROL CHARACTERS.PNG


Jeffrey Rivers
Win 10 Pro 64-bit, Intel i9 3.7GHz, 64 GB
NVIDIA RTX A4000
C3D 2020 V13.2.89.0
0 Likes

jeff_rivers
Advisor
Advisor

I didn't think about that!  It works in Excel to add a carriage return to a cell, maybe it'll work in Autocad too.

 

Unfortunately, I just tried it, and the SSM textbox ignores that key sequence completely.  


Jeffrey Rivers
Win 10 Pro 64-bit, Intel i9 3.7GHz, 64 GB
NVIDIA RTX A4000
C3D 2020 V13.2.89.0
0 Likes

Joe-Bouza
Mentor
Mentor

use the enhanced editor and squeeze the width, just like a piece of MTEXT.  that is  the beauty of the ML attribute.

Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Hidden_Brain
Advisor
Advisor

Joe,

i struggled with this recently, can i get the ML attribute to output in 3 lines?

line 1: CONSTRUCTION STAGING

line 2: STAGE 2

line 3: -2-    *

 

*if stage spans multiple sheets

all text in ML attribute is using SSM>Sheet Title

0 Likes

jeff_rivers
Advisor
Advisor

Joe, did you see my original post?  The requested sheet title is 31 characters long, and the available space is only 24 characters long.  I'm familiar with the width property of atttext, but I don't think shrinking 31 characters down to fit a space meant for only 24 characters is going to be legible.  


Jeffrey Rivers
Win 10 Pro 64-bit, Intel i9 3.7GHz, 64 GB
NVIDIA RTX A4000
C3D 2020 V13.2.89.0
0 Likes

Joe-Bouza
Mentor
Mentor

Yes I did. This is the way I understood your problem, sorry if I misunderstood:

https://autode.sk/2VwG4Xs

 

 

 

 

 

Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes

Joe-Bouza
Mentor
Mentor

Hello HB (Avishek)

 

did you get to see my screen cast? was it helpful

when you define a Multi-line attribute you give it a default width (where to wrap) typically the width of the area in the title blocks border. From there if Sheet title is longer than that the width can be adjusted like MTEXT editor as demonstrated in the screen cast. 

 

Three lines as shown? we would be challenged for sure. you might want to consider addition custom fields to handle the third line as needed. Note with BATTMAN you can make attributes visible or invisible upon need

 

Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes

ChrisRS
Mentor
Mentor

SSM is not able to recognize line breaks. As @Joe-Bouza showed, you can force a break at by the with of you attribute field, but that gives you limited control.

 

I am to an expert, but my opinion is that 2 or 3 line labels are best handled using 2 or 3 SSM fields.  @Joe-Bouza alluded to this as well.

 

This is an AutoCAD issue. You might wan to check the AutoCAD Forums, but I have not been able to find anything useful on this topic. This would be a good topic for the AutoCAD Ideas Board … if one existed.

 

You could add this to the AUGI Wish List, or report it at the Autodesk Feedback page: https://www.autodesk.com/company/contact-us/product-feedbackautocad (This looks to be a black hole, but I am told it is for real.) 

 

would be a good top 

Christopher Stevens
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Joe-Bouza
Mentor
Mentor

I concur. 

 

the top line width governs the wrap

Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes

Hidden_Brain
Advisor
Advisor

thanks Joe, very helpful. i have been adjusting the wrapping with the grips as you show but i am having trouble getting it into 3 lines, please see below. perhaps i have to use a custom field like you mentioned.

 

wrap1.png

 

wrap2.png

 

0 Likes

Joe-Bouza
Mentor
Mentor

Hi Avishek

 

Looks good from here . 

Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes

Hidden_Brain
Advisor
Advisor

Joe,

i was trying to arrange it as-

line 1: CONSTRUCTION STAGING

line 2: STAGE 2

line 3: -2-

 

sadly, the best i could get was in the second screenshot from my earlier post. now if there is some trick to "selectively" grip edit and achieve what I am after, that will be dandy! 

0 Likes

Joe-Bouza
Mentor
Mentor

Avishek

 

Abandon hope on that wish. Focus on the ML attribute is good for on 2 lines and a special field for any potential 3 liners.

 

Alternately: leave -2- out of the SSM name, enter the enhanced editor manually after the width adjustment, manually enter the CR and -2- for the third line?

Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes

MMcCall402
Mentor
Mentor

Weird idea: 

Fight this in the opposite direction.  Replace the space between words with a non-breaking space to prevent the width limits of a multi-lined attribute from forcing a line shift and then only use a normal space when you want a line shift. A Shift+Ctrl+Space makes a non-breaking space but you can't enter it into the Sheet set manager directly. You can however copy it in from an Mtext and continue to copy and paste it in as needed once its in there.

Mark Mccall 
CAD Mangler



Hammer Land Engineering


Linkedin

Joe-Bouza
Mentor
Mentor

FYI in SSM the non breaking space can be entered as "ctrl 0160"

 

not sure if I understand correctly:

 

lets say the ML attribute width is 20 character wide 

 

 and the DrawingTitleIsTwenty1 character long and you want DrawingTitle (12 CHARATERS) on the first line and ty1 on the third line. are you say add ctrl 0160 to bake the break?

 

sheet set palette==> DrawingTitlectrl 0160ctrl 0160ctrl 0160ctrl 0160ctrl 0160ctrl 0160ctrl 0160ctrl 0160IsTwen(4 on second line)ctrl 0160ctrl 0160ctrl 0160ctrl 0160ctrl 0160ctrl 0160ctrl 0160ctrl 0160ctrl 0160ctrl 0160ctrl 0160ctrl 0160ctrl 0160ctrl 0160ctrl 0160ctrl 0160tyi

 

is that what you meant?

Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

MMcCall402
Mentor
Mentor

First picture this, the title is written in the SSM with normal spaces between the words and the width of the multi-line attribute is small. Each word will be on its own line as the space character will be used as the location to put in an automatic line shift.  Now edit the title in the SSM and replace the normal spaces with non-breaking spaces where you don't want those automatic line shifts to happen.

Mark Mccall 
CAD Mangler



Hammer Land Engineering


Linkedin

Joe-Bouza
Mentor
Mentor

Sorry, too advanced for my mind to follow

Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes