Jump to content

Can't copy/output results from a FIND list


Recommended Posts

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

Link to comment
Share on other sites

Posted (edited)

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

 

Welcome to the forum!

Edited by CyberAngel
Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

@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

Link to comment
Share on other sites

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

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