Script to remove part of a text block?
Script to remove part of a text block?
(OP)
My company is doing a lot of updating right now, and there is some information on all of our (50,000+) prints that needs to be removed. While I can do some really nifty things w/our other cad program, I'm pretty clueless when it comes to doing the more detailed stuff w/AutoCAD. I've linked 2 examples below- is there a way to script removing the last 2 items (routing and send to) in the blocks on the bottom left corner? We have prints set up both of the ways shown.
h ttp://www. unforgotte npath.org/ aza/MM2414 16.WLT.dwg
h ttp://www. unforgotte npath.org/ aza/MM7624 22.UBT.dwg
h
h





RE: Script to remove part of a text block?
In one drawing, the "SHIP TO: WELDING" is a attribute value in a block insert; in the other drawing "SEND TO: SHIPPING" is the last line in some MTEXT. A (lisp or VBA) routine would search for the mtext & delete the offending text, and search for the block insert "routing" and clear the attribute value. Now include this routine in a batch program such as Scriptpro to run on all the drawings.
RE: Script to remove part of a text block?