Jump to content

Search various folders drawings for a named block


Recommended Posts

Posted

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.

Posted (edited)

Have you tried using the Design Center? See this article. About halfway down the page they discuss searching for blocks.

Edited by CyberAngel
  • Like 1
  • Thanks 1
Posted (edited)

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
Posted

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.

Posted (edited)
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

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