Jump to content

Recommended Posts

Posted

I do a search (FIND) for a text string in my .dwg and get a list, the main problem is that AutoCAD won't let me COPY out the results from my search...

I'd like to copy the hits from this list into a .txt or .xls file but CTRL+C won't work and there's no right-click options

 

Is there a lisp program available or other options to get the results in a table or Excel ? 

Find_and_Replace.JPG

Posted (edited)

This question over at the Autodesk Community sounds eerily familiar, but it's from 2015.

 

Welcome to the forum!

Edited by CyberAngel
Posted

@CyberAngel you are right, I saw that when googling for an answer to this case but also no solution. 

Posted

Using ssget filters can be done. This will make a selection set which can then become a CSV or direct to Excel.

 

(setq str (strcat (getstring "\Enter string prefix") "*"))
(setq ss (ssget "X" '((0 . "TEXT")(cons 1 str))))

 

Posted

@BIGAL Thank you, I do not know lisp that much, do you have a complete lisp to do that. Maybe something like after pressing DONE will transfer the results to the clipboard or Excel

Posted

Do you want 1 string search to excel or is it do repeated searches. Please confirm.

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...