maksolino Posted October 1, 2009 Posted October 1, 2009 Hello i am looking for a lisp routine that can find and zoom text in a drawing like using command FIND but running in a cycle. I try to explane my wish In my drawing I use to show the name of the mechanical parts whith numbers ( 1 to 999). I am asking this kind of lisp: input Start number (for ex. 20) input End number (for ex. 32) Using the key ENTER i wish to go to the next number (increment = 1) and then again whith ENTER till the last number. Whith this kind of lisp is very quickly to check if every part is show in the drawing thanks to all Quote
CarlB Posted October 14, 2009 Posted October 14, 2009 Are the numbers only "text" items? (not mtext or attributes or...) Quote
Freerefill Posted October 14, 2009 Posted October 14, 2009 Check out my "Text Find/Replace" LISP in my signature. You can use the function to zoom to any bit of text without user input. Alls you need to do is pop it into a loop and you're done. Quote
maksolino Posted November 12, 2009 Author Posted November 12, 2009 Hello I try the lisp that you suggest to me.It is very powerfull but it doesn' t solve my problem because my text is inside a block. I need a new similar lisp that works only whith text inside blocks. See the attached file. p.s. For me it's enought the option find. Thanks TEST.dwg Quote
alanjt Posted November 12, 2009 Posted November 12, 2009 Hello I try the lisp that you suggest to me.It is very powerfull but it doesn' t solve my problem because my text is inside a block. I need a new similar lisp that works only whith text inside blocks. See the attached file. p.s. For me it's enought the option find. Thanks Did you try Find? Quote
maksolino Posted November 13, 2009 Author Posted November 13, 2009 In autocad 2006 the command Find don't work whith blocks. Anyway a lisp routine is much faster than work whith the command Find. I would like lisp that works only whith text inside blocks. P.S.All the time i need to check how it looks the "parts" in the drawing like P13,P14, .... P915 (the text name is always a part of block-see the attached file TEST). Thanks 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.