Print Page | Close Window

Lisp to add a suffix to existing text

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=8966
Printed Date: 05.Sep.2026 at 16:29


Topic: Lisp to add a suffix to existing text
Posted By: ABUSAIF
Subject: Lisp to add a suffix to existing text
Date Posted: 15.Feb.2013 at 16:09
Hello all,
im looking for a lisp to add a suffix to a text (a lot of text) and I need to add a letter to the end of that text. example A-545 and I like to add the letter T to the end of it A-545(T). Thank you all



Replies:
Posted By: CarlB
Date Posted: 16.Feb.2013 at 14:51
You should be able to find a lot of similar lisps with a web search, i've seen that question asked and answered many times.  Suffix, prefix, combine text, do math on text, etc. Let us know if ou don't come up with something quickly.
 
Manipulating text objects is fairly simple, is a lot tougher if you want a routine to work on mtext that has any formatting.


Posted By: ABUSAIF
Date Posted: 18.Feb.2013 at 15:35
Thanks CarlB, Found one, here is the link if somebody else need it..
http://www.cadtutor.net/forum/showthread.php?64606-Prefix-Suffix-add-to-numbers-or-text


-------------
Dead



Print Page | Close Window