+ Reply to Thread
Results 1 to 5 of 5

Thread: CAD Catalog

  1. #1
    Full Member
    Computer Details
    kellenhaskell's Computer Details
    Operating System:
    Windows 7
    Using
    AutoCAD 2010
    Join Date
    Jun 2008
    Location
    Denver, CO
    Posts
    41

    Default CAD Catalog

    Registered forum members do not see this ad.

    I have began working for a Millwork company that has thousands of Trim Profiles (Case Board, Base Board, Crown, T&G, etc...). Each Profile is saved individually as a DXF with a Number(name, mtext) attached.

    For the Sales Side of things, we like to keep a Catalog showing every single Profile that we offer. This Catalog is essentially one giant DWG File with all the profiles arranged in it per page. The only way that this Catalog of Profiles is kept up to date, is by saving each new profile as its own DXF, then Copying the Item and Number(Name) and pasting it in the Master DWG File.

    The catalog has not been updated since sometime in 2008-2009.

    My question can be broke down in two parts.

    A. Is there a way to pull a list of DXF Files (anywhere from 25-250 dxf files) and compile them in one file? (this would help get catalog brought up to speed)

    B. Is there a way to have each file added to the Catalog as its created, other than copypasta each time I draw a new profile? (this would be used to actively update the catalog every time we get a new profile)


    I feel that I already know my answers are to do it the hard way (open indiv, copy, ctrl tab, paste...repeat), and to actively paste each new profile in the master as its created. But hey, figured I might as well ask. Thanks for any and all help.

  2. #2
    Quantum Mechanic ReMark's Avatar
    Computer Details
    ReMark's Computer Details
    Operating System:
    Windows 7 Pro 64-bit
    Computer:
    Thinkmate
    Motherboard:
    Intel DX58SO2 LGA1366 X58
    CPU:
    Intel i7-960 Quad-core 3.20GHz 8MB cache
    RAM:
    12GB (3x4GB) PC3-106000 DDR3
    Graphics:
    nVidia Quadro 4000, 2GB GDDR5
    Primary Storage:
    150GB Velocipraptor 10,000 rpm
    Secondary Storage:
    none
    Monitor:
    Dell P24LLH - 24" wide screen LCD
    Discipline
    See details...
    ReMark's Discipline Details
    Occupation
    CAD Draftsman/Designer...chemical manufacturing.
    Discipline
    See details below.
    Details
    I work for a specialty chemical manufacturer. I do a little bit of everything from P&IDs to civil to architectural and structural.
    Using
    AutoCAD 2013
    Join Date
    Nov 2005
    Location
    Norwalk, CT USofA
    Posts
    33,144

    Default

    Well first off the Master catalog should be populated with Xrefs of the individual profiles. Every time an existing profile is revised this will be reflected in the Master catalog when it is opened. Doesn't that make more sense?

    As far as added new profiles to the catalog I have no suggestions at this time. But I'll think on it some more.
    "I have only come here seeking knowledge. Things they wouldn't teach me of in college." The Police

    Eat brains...gain more knowledge!

  3. #3
    Forum Deity BlackBox's Avatar
    Using
    Civil 3D 2011
    Join Date
    Nov 2009
    Posts
    3,952

    Default

    If you're adept at coding Visual LISP, vl-Directory-Files, and vla-AttachExternalReference are your friends.

    My first thought would be to setup a check function in AcadDoc.lsp that when you open a drawing, it would check to see if the DWGNAME System Variable matches your 'master catalog' drawing name, and if so, programmatically compare the block references that exist within your 'master catalog's' Blocks Collection against those returned in the list of Strings by vl-Directory-Files for the predetermined file path (where you blocks are located).

    Here's a quick example:

    Code:
    (vl-load-com)
    
    ((lambda (dwgName / blocks newBlocks)
       (if (and (= dwgName "<YourMasterDrawingName>")
                (setq blocks (vl-directory-files "<YourFilePath>" "*.dwg" 1))
           )
         (progn
           (foreach block blocks
             (if (not (tblsearch "block" (vl-filename-base block)))
               (setq newBlocks (cons block newBlocks))
             )
           )
           (if newBlocks
             (progn
               (textpage)
               (prompt "\n\n  >>  New catalog items available: \n")
               (foreach block (reverse newBlocks)
                 (prompt (strcat "\n\t\t\t" block))
               )
               (terpri)
             )
           )
    
         )
       )
     )
      (getvar 'dwgname)
    )
    HTH

    **Edit - You can get to the automated XREF attachment later, as there's a bit more complexity involved.
    "Potential has a shelf life." - Margaret Atwood

  4. #4
    Forum Deity
    Using
    Civil 3D 2013
    Join Date
    Dec 2005
    Location
    GEELONG AUSTRALIA
    Posts
    3,791

    Default

    Yeah Renderman had the same idea find out whats not in the master, one question though kellenhaskell what would be the proceedure if you had say 5 new dwgs but two are to be added to an existing catalog page, the others to a new page all together ? Are the pages say layout tabs or areas on the master dwg. Renderman is well under way but it probably would be good to get an idea of how your master dwg is arranged now. The auto arranging would be like a stage 4 in the programing.

    1 check whats missing "Completed"
    2 bring in missing "place xref outside existing objects just use extents"
    3 do something "smarter version of 2"
    4 arrange automatically "arrange automatically"
    A man who never made mistakes never made anything

  5. #5
    Super Member
    Computer Details
    Dipali's Computer Details
    Operating System:
    windows vista
    Computer:
    IBM Thinkpad lenovo
    CPU:
    Intel Centrino vPro
    Monitor:
    viewsonicVA1916w
    Discipline
    Architectural
    Dipali's Discipline Details
    Occupation
    ARCHITECTURE
    Discipline
    Architectural
    Details
    interiors
    Using
    AutoCAD 2009
    Join Date
    Dec 2007
    Location
    INDIA
    Posts
    1,058

    Default

    Registered forum members do not see this ad.

    is it posible for you to use a sheet set manager?
    that way each profile can stay in their own file but added to list of sheets in sheet set as and when required. and sheet sets can be used for publish multisheets.
    "An architect's most useful tools are an eraser at the drawing board & a wrecking bar at the site."
    Frank Lloyd Wright

Similar Threads

  1. Where are my parts in the USI CATALOG
    By DIW_HDsupply in forum MEP
    Replies: 1
    Last Post: 15th Apr 2011, 08:28 am
  2. Error Catalog
    By Maikel_81 in forum MEP
    Replies: 2
    Last Post: 11th Feb 2011, 10:40 am
  3. MEP Catalog for other machines
    By waydawn in forum MEP
    Replies: 2
    Last Post: 16th Jun 2010, 05:54 pm
  4. Catalog not loading
    By Regulator26 in forum MEP
    Replies: 7
    Last Post: 16th Mar 2010, 06:35 pm
  5. Catalog Data to BOM, Do You How?
    By TerryDay in forum AutoCAD General
    Replies: 0
    Last Post: 21st Dec 2007, 05:36 pm

Bookmarks

Posting Permissions

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