Jump to content

Search various folders drawings for a named block


goBurner
 Share

Recommended Posts

I'm looking for a way through a lisp routine to search various folders drawings (.dwg files) for a specific block name.

The result in an excel list of the found dwg files where the specific block is located.

Link to comment
Share on other sites

You could Use windows cmd.

 

dir/s/b filename.dwg > File.txt

 

--edit

Go to the folder in question in windows explorer. in the address bar type cmd

this will pop up a dos window and paste above into it.

 

image.png.c714bc55bf44bac7daccc7519251aeb6.png

Edited by mhupp
  • Like 1
Link to comment
Share on other sites

We had like 4tb of dwg's if we decided to look for a block I am wondering how long it would take.

 

Mhupp that makes a list of dwgs wants to find a block in a list of dwg's, thanks always go to CMD,  CD etc etc to do that task.

 

Maybe use Accoreconsole (tblsearch "BLOCK" bname) if true write-line to a file note use "A" option to append to file. Not tested. Will try to find time to test.

Link to comment
Share on other sites

32 minutes ago, BIGAL said:

We had like 4tb of dwg's if we decided to look for a block I am wondering how long it would take.

 

I imported our list into excel using vlookups takes a few seconds to search a list with almost 250k rows

Edited by mhupp
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
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.

 Share

×
×
  • Create New...