Author Topic: Change Text  (Read 2396 times)

0 Members and 1 Guest are viewing this topic.

cmwade77

  • Swamp Rat
  • Posts: 1443
Change Text
« on: October 30, 2009, 12:01:44 PM »
O.k., so I like some of the functionality of both of these functions:
SwapText -
http://www.theswamp.org/index.php?topic=28685.0

and

CopyText -
http://www.theswamp.org/index.php?topic=30368.0

The problem is at the company that I work at, before I started we had a similar function, but it is so old that it won't work with tables, dimensions, mleaders and such, I had modified it to work with mtext and to sort of work with tables, but not very well, but these functions work much better, I have attached this routine (as I have modified it) just in case it helps, this one is the ATT.lsp

the problem is that I still need the functions that the original routine had:
  • Be able to type new text
  • Be able to change multiple items at once
  • Be able to set a value to increment by

I almost have it, per the request of the author of the routine in the first thread listed above, I am calling this one by a different name, I am calling this one ChangeText. Please see the attached code, the problems that I am having is with consistency, sometimes it will increment just fine, other times it won't. I can select multiple text, mtext and dimension items; however, I cannot select multiple attributes or table cells.

Any help that anyone can provide would greatly be appreciated. I have included full credit for both routines. This is the ChangeText.lsp file that I need some help with. Thank you for your help.