cadmando2 Posted September 10, 2010 Posted September 10, 2010 Hay, I am on a fast track to get a project done on time and with the help of my CAD friends here they did a great job of helping already. Now I need something like a batch file that will scan drawing for a body of text Or attributes like the find command. At one time I thought I seen something like that somewhere. Can anyone help? Thanks:D Quote
Lt Dan's legs Posted September 10, 2010 Posted September 10, 2010 does this help? http://www.cadtutor.net/forum/showthread.php?44086-Edit-Batch-LISP Quote
BlackBox Posted September 10, 2010 Posted September 10, 2010 Will this work...? (ssget "_x" '((0 . "TEXT,MTEXT") (1 . "*[color=red]Key Word Text Here[/color]*"))) Quote
Lt Dan's legs Posted September 10, 2010 Posted September 10, 2010 code removed I didn't read the post all the way... I'm getting lazy! Quote
alanjt Posted September 10, 2010 Posted September 10, 2010 Will this work...? (ssget "_x" '((0 . "TEXT,MTEXT") (1 . "*[color=red]Key Word Text Here[/color]*"))) Limited: case sensitive. Quote
alanjt Posted September 10, 2010 Posted September 10, 2010 CopyText.lsp: Copy/Swap Text/MText/Multileader/Attribute Values Quote
BlackBox Posted September 10, 2010 Posted September 10, 2010 Limited: case sensitive. Very true. Quote
alanjt Posted September 10, 2010 Posted September 10, 2010 Very true. Just step through a selectionset, using wcmatch to filter. Quote
Lee Mac Posted September 10, 2010 Posted September 10, 2010 Limited: case sensitive. Not disagreeing, but just for kicks (ssget "_X" '((0 . "TEXT,MTEXT") (1 . "*[Tt][Ee][Xx][Tt]*"))) Quote
alanjt Posted September 10, 2010 Posted September 10, 2010 Not disagreeing, but just for kicks (ssget "_X" '((0 . "TEXT,MTEXT") (1 . "*[Tt][Ee][Xx][Tt]*"))) LoL Don't encourage. It's still limited by only searching the first (assoc 1 for MText. Quote
Lee Mac Posted September 10, 2010 Posted September 10, 2010 LoLDon't encourage. It's still limited by only searching the first (assoc 1 for MText. lol, I'm not encouraging mate don't worry I read the other thread lmao. Just thinking outside the hypercube. Quote
alanjt Posted September 10, 2010 Posted September 10, 2010 Just thinking outside the hypercube. Sounds exhausting. 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.