jcap91163 Posted August 2, 2010 Posted August 2, 2010 I installed a vlx routine called ednum, the function is to edit only the number character inside a text. Works very fine but in a string 2" x 2" x 1/8", only replaces the first number. Is there any way for you guys to make a lisp that allows me to edit not only the first but the other numbers?, and if it's possible to edit also numbers inside an attribute string? Thanks in advance for your help. Quote
Lee Mac Posted August 2, 2010 Posted August 2, 2010 I didn't really work on this too much, so it won't work well with formatted MText, or on numbers that aren't decimal, but give it a whirl anyway I suppose... http://www.cadtutor.net/forum/showthread.php?46697-Text-Math Quote
BIGAL Posted August 3, 2010 Posted August 3, 2010 (edited) What about "find" & replace you can select a group of objects including blocks with attributes it will change all occurances up to looking in entire drawing in one go Bit of caution though looking for 2 can be every where in a "entire drawing" Edited August 3, 2010 by BIGAL warning Quote
jcap91163 Posted August 4, 2010 Author Posted August 4, 2010 To BIGAL, you are very right, the Find command is very useful, but as you pointed correctly, in every drawing there are lots of strings with the value of "2", that's the reason that in this case is not useful. To Lee Mac, great routine, very useful too, but unfortunately not what I'm looking for, this is an example: I have an attribute or a text or a Mtext that reads: STEEL ANGLE 2" x 2" x 1/8" and for this case I only want to change the last number, change the 8 for a 4 Any suggestion much be appreciated, thanks in advance, and sorry for taking too much of your time. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.