TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: THEBIGDIEHL on November 09, 2022, 11:06:03 AM
-
I am asking for help for this simple task. I used to write some Lisp but I have lost my books when we moved a year ago. I know this is simple but we obtain some Property Owner information that has extra labeling that does not need to end up on our drawing. Yes, we can use a simple search and replace but sometimes have a hundred of these on a single map. In addition, the CITY STATE ZIP comes to us in 3 separate lines. It would be nice if the routine could condense these into one line. Example
ORIG DATA:
Parcel Number: 05-55-08-36-0-000-026.007
PIN: 203777
Owner Name: BOWLING, ARTHUR ETAL BOWLING, SARA G
Address: 256714 WILBER AVE
City: LONDON
State: AL
Zip: 36824
NEEDED FORMAT:
05-55-08-36-0-000-026.007
PIN: 203777
BOWLING, ARTHUR ETAL BOWLING, SARA G
256714 WILBER AVE
LONDON AL 36824
Again, I know this is probably simple but I appreciate any help you could give. Thanks!
-
Have you tried the FIND command?
-
@THEBIGDIEHL please upload your sample.dwg
-
Ok get all text using ssget then look at the text does it WCMATCH "Parcel" if so save it to a list plus next 6 text objects, this does of course rely on the databse order, then you have a list of text so redo it all removing words not required, strcat the London AL 1234 and make a new Mtext.
Like Devitg need a dwg to check.