Jump to content

Need a batch find and replace text inside of a block the text is just normal text


afritz0108

Recommended Posts

Can anyone help me

im looking for a lisp that can change text

inside of a block it’s just normal text 

That same block is in multiple drawings is there a way to batch change it

Link to comment
Share on other sites

thank you for the response

I have no experience with autocad lisp 

im not sure where I would add the regen in the code 

Link to comment
Share on other sites

I'll assume you can copy the code to a text file and save it as something with a .lsp extension. Add the file to the startup suit from appload....

 

So in the code linked above there will be a ) right at the end, add a new line just before that and paste in 

 

 (command "regen")

 

in that new line. Otherwise run the find and replace LISP and then just do the CAD command "Regen" which will do the same thing but 1 extra step by the user

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...