goBurner Posted October 27, 2022 Share Posted October 27, 2022 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. Quote Link to comment Share on other sites More sharing options...
CyberAngel Posted October 27, 2022 Share Posted October 27, 2022 (edited) Have you tried using the Design Center? See this article. About halfway down the page they discuss searching for blocks. Edited October 27, 2022 by CyberAngel 1 1 Quote Link to comment Share on other sites More sharing options...
mhupp Posted October 27, 2022 Share Posted October 27, 2022 (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. Edited October 27, 2022 by mhupp 1 Quote Link to comment Share on other sites More sharing options...
BIGAL Posted October 28, 2022 Share Posted October 28, 2022 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. Quote Link to comment Share on other sites More sharing options...
mhupp Posted October 28, 2022 Share Posted October 28, 2022 (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 October 28, 2022 by mhupp Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.