See the top rated post in this thread. Click here

Results 1 to 6 of 6

Thread: Search various folders drawings (.dwg files) for a specific block name.

  1. #1
    Member
    Join Date
    2010-01
    Posts
    18
    Login to Give a bone
    0

    Default Search various folders drawings (.dwg files) for a specific block name.

    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.
    I am not looking for a specific file but for the block reference in a .dwg file.

  2. #2
    Administrator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    5,719
    Login to Give a bone
    1

    Default Re: Search various folders drawings (.dwg files) for a specific block name.

    Have you tried using Design Center (ADCENTER Command), then simply click the Search button?

    In the Search dialog, filter for Blocks and enter the Block Name you want to look for, then you can populate your spreadsheet, no?
    "How we think determines what we do, and what we do determines what we get."

    Sincpac C3D ~ Autodesk Exchange Apps

    Computer Specs:
    Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000

  3. #3
    Member
    Join Date
    2010-01
    Posts
    18
    Login to Give a bone
    0

    Default Re: Search various folders drawings (.dwg files) for a specific block name.

    It's possible to use the Design Center. After the search I have to close the result window to open it. It''s not possible to export the result to Excel.

  4. #4
    Active Member dotson's Avatar
    Join Date
    2005-01
    Posts
    56
    Login to Give a bone
    1

    Default Re: Search various folders drawings (.dwg files) for a specific block name.

    You might want to try the DwgSearrch Freeware from the Autodesk App Store ...
    https://apps.autodesk.com/ACD/en/Det...en&os=Win32_64

    Simply check on the Block toggle in the tables section. When the results are complete click the [Copy to Clipboard] button and paste it into Excel or any other application. The DwgSearch is fast because it doesn't actually open the drawings in the editor.

  5. #5
    Login to Give a bone
    2

    Default Re: Search various folders drawings (.dwg files) for a specific block name.

    with lisp you can use getstring to specify a block name, acet-ui-pickdir to select a folder, ObjectDBX/vla-get-blocks to go inside a drawing database and then write the search results to a csv file

  6. #6
    Member
    Join Date
    2010-01
    Posts
    18
    Login to Give a bone
    0

    Default Re: Search various folders drawings (.dwg files) for a specific block name.

    Quote Originally Posted by BlackBox View Post
    Have you tried using Design Center (ADCENTER Command), then simply click the Search button?

    In the Search dialog, filter for Blocks and enter the Block Name you want to look for, then you can populate your spreadsheet, no?
    Is there an another solution?

Similar Threads

  1. Replies: 1
    Last Post: 2017-01-15, 12:22 AM
  2. Replies: 0
    Last Post: 2012-02-08, 03:23 PM
  3. Replies: 5
    Last Post: 2009-04-17, 10:10 AM
  4. Can I search for a specific block name?
    By pmedina in forum AutoLISP
    Replies: 8
    Last Post: 2009-02-24, 12:47 PM
  5. memorize various furniture positions in various phases
    By gravelin in forum Revit Architecture - Wish List
    Replies: 6
    Last Post: 2005-08-01, 09:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •