+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Junior Member
    Using
    AutoCAD 2010
    Join Date
    May 2011
    Posts
    13

    AutoCAD Automatically add letters/numbers after text

    Registered forum members do not see this ad.

    Hey all, i was wondering if it is possible to automatically add letters/numbers after i type something?

    Say I have a table full of cups, i count these cups and i find i have 9. "9 cups" is what i want to see after i type "9" and hit 'Enter'

    Because "9" is shorter in horizontal length than "10" i want this text to automattically add itself in after ive typed in my information, otherwise i could have had another line of text placed after it, but because the infomation changes in horizontal length, it is easier to automatically fill in another word following..

    I hope this is easy enough to understand, please if you have ANY ideas, please mention them!

  2. #2
    Luminous Being dbroada's Avatar
    Computer Details
    dbroada's Computer Details
    Operating System:
    XP Pro
    Computer:
    Dell
    CPU:
    Intel Xeon 2.13GHz
    RAM:
    2GB
    Graphics:
    NVIDA Quadro FX 580
    Monitor:
    DELL 23" & SAMSUNG 21"
    Discipline
    Electro/Mech
    dbroada's Discipline Details
    Occupation
    Design Engineer
    Discipline
    Electro/Mech
    Using
    Electrical 2013
    Join Date
    Nov 2005
    Location
    Sussex, UK
    Posts
    5,061

    Default

    I don't know of any automatic way. If I have lots of similar text to ype I usually have " CUPS" in my clipboard so I can type 9 <ctrl-v>. Alternatively you can write some code to add "CUPS" to a selection of text when the drawing is finished.
    "That's it. It's one thing for a ghost to terrorize my children, but quite another for him to play my Theremin." Homer Simpson

    Dave

  3. #3
    Super Moderator Tiger's Avatar
    Computer Details
    Tiger's Computer Details
    Operating System:
    Windows 7 Enterprise 64 bit
    Computer:
    Dell Precision M4500
    CPU:
    Intel Core i5 2.40GHz
    RAM:
    8GB
    Graphics:
    NVIDIA Quadro FX 880M
    Primary Storage:
    280 GB
    Monitor:
    2 x Samsung SyncMaster 2443 24''
    Using
    AutoCAD 2012
    Join Date
    Nov 2006
    Location
    Sthlm, Sweden
    Posts
    4,595

    Default

    Registered forum members do not see this ad.

    There are annotation lisps out there (I use one that is here somewhere) where you can specify a Prefix or Suffix first, and then proceed to place positioning balloons and the prefix/suffixes adds itself automatically.

    I'll see if I can find the one I use.

    edit: http://www.cadtutor.net/forum/showth...ghlight=tagset - that's the one I use.
    Life doesn't suck, although we all go through periods when it may be easier to think that, than to discern the solution to whatever problem is the most formidable
    at the moment in one's personal UCS.
    Go to PLAN view instead. - Dadgad

Similar Threads

  1. filtering layers (containing numbers) and to ignoring letters in layer names
    By Croftyno1 in forum AutoLISP, Visual LISP & DCL
    Replies: 4
    Last Post: 16th Jun 2011, 10:28 am
  2. Circling Note Numbers Automatically
    By CyberAngel in forum AutoCAD General
    Replies: 3
    Last Post: 23rd Feb 2011, 03:06 am
  3. count the number a given text letters e.g. 3No. H's
    By stockers in forum AutoLISP, Visual LISP & DCL
    Replies: 33
    Last Post: 4th Oct 2010, 10:48 am
  4. total text numbers
    By cadman2009 in forum AutoLISP, Visual LISP & DCL
    Replies: 9
    Last Post: 20th Sep 2010, 08:47 pm
  5. Automatically Update a sequence of Numbers
    By Andy Sap in forum AutoCAD General
    Replies: 1
    Last Post: 2nd Jul 2009, 04:16 pm

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts