Print Page | Close Window

adding { or } to text override?

Printed From: CAD Forum
Category: EN
Forum Name: AutoCAD
Forum Description: Discussion about AutoCAD and AutoCAD LT, viewers, DWG and DXF formats, Design Review, AutoCAD web, Drive, add-ons
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=7214
Printed Date: 03.Jul.2026 at 07:16


Topic: adding { or } to text override?
Posted By: eliteonecindy
Subject: adding { or } to text override?
Date Posted: 21.Jan.2012 at 01:05
I know you can adjust the dim text when you add specific characters but how can i get {} in there? comes out blank when i try.

-------------
SinD3D



Replies:
Posted By: John Connor
Date Posted: 21.Jan.2012 at 15:21
Maybe via a unicode?

-------------
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>



Posted By: heinsite
Date Posted: 22.Jan.2012 at 06:28
Originally posted by John Connor John Connor wrote:

Maybe via a unicode?


I played around with this yesterday too and didn't find anything that worked.  The ASCII codes for the brackets are 123 and 125.  They aren't supported in all font sets, and for a while I thought that might be the reason they weren't showing up.  I also checked to see if they were a special character in LISP or something.  Doesn't appear they are.  In the end it seemed to me AutoCAD is simply ignoring them.

Dave


-------------
Dave Hein, P.E.
Hawaii District Engineer
Kona International Airport
AutoCAD Certified Professional
Autodesk Expert Elite


Posted By: Vladimir Michl
Date Posted: 22.Jan.2012 at 22:31
AutoCAD considers {} as control characters. You will need to escape them using "\" -- e.g.:
 
\{comment\}


-------------
Vladimir Michl (moderator)
ARKANCE - https://arkance.world" rel="nofollow - https://arkance.world - Autodesk Platinum Partner



Print Page | Close Window