BATCH FIND, REPLACE WITH MULTIPLE PRESET OUTPUTS

BATCH FIND, REPLACE WITH MULTIPLE PRESET OUTPUTS

dthantri
Community Visitor Community Visitor
264 Views
1 Reply
Message 1 of 2

BATCH FIND, REPLACE WITH MULTIPLE PRESET OUTPUTS

dthantri
Community Visitor
Community Visitor

Hey everyone,

 

Problem:

Im looking for a lisp code that would allow me to do a multiple find and replace on a certain selected section of the model space. I have tried using the batch find V2 lisp program, but it doesn't allow me to do find and replace on a certain section of the model space. I have attached a screenshot for you to have a better idea of what im working with. Each of the 3 outputs have different values. what im trying to achieve is to have all the preset values loaded up before hand for SOFT MEDIUM AND HARD and then be able to select the portion I want to and replace them with either SOFT MEDIUM or HARD preset values.

 

Any help and advice is greatly appreciated (fyi :quite new to autocad)

Thanks

0 Likes
265 Views
1 Reply
Reply (1)
Message 2 of 2

paullimapa
Mentor
Mentor

https://www.eng-tips.com/viewthread.cfm?qid=78370
Found this old code CT.lsp which could be a good starting point for you. It will let you select the texts first. Then you enter what to search like -XXX and then what to replace it with like -T66, -T67 or -T70


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes