Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: Automatic BOM Generation

  1. #1
    Active Member
    Join Date
    2003-09
    Posts
    83
    Login to Give a bone
    0

    Default Automatic BOM Generation

    Hello all -

    Who can point me in the right direction on the following:

    I'm looking to set up a system in which I can automatically create a BOM in Excel or Access based on unique block names in drawings (that I have already established).

    Really what I'm looking for here are links to web resources that I can dig through to decide which is the best way to accomplish this. I'm sure LISP, macros, or even vanilla report creation could be used, or a combination of these methods, but I'd like to know what works best. Anyone already have this set up for themselves? Please give feedback.

    Thank you,
    Albert

  2. #2
    The Silent Type Mike.Perry's Avatar
    Join Date
    2000-11
    Posts
    13,656
    Login to Give a bone
    0

    Default Re: Automatic BOM Generation

    Hi

    Give the following threads a browse -

    dbconnect

    tracking drawings

    Connecting to an external database

    +

    Have you looked at the ATP courses starting September (ATP 046 Utilizing an Access Database with AutoCAD through VBA programming) -

    Current ATP Courses

    Have a good one, Mike

  3. #3
    Active Member
    Join Date
    2003-09
    Posts
    83
    Login to Give a bone
    0

    Question Re: Automatic BOM Generation

    Ok that all helps; thank you Mike.

    My next question is this then (I may have overlooked this whilst reading away) =

    Can Access or Excel support Bi-directional associativity without having to program anything? Simply, I am not yet well versed enough in LISP or VBA or Pyrotechnics to create any third party program to control the associations.

    My goal: to have attributes in CAD that can be edited in CAD and updated in Access, and visa versa.

    Any thoughts? Or am I asking too much?

    Thanks so much,
    Albert

  4. #4
    The Silent Type Mike.Perry's Avatar
    Join Date
    2000-11
    Posts
    13,656
    Login to Give a bone
    0

    Default Re: Automatic BOM Generation

    Quote Originally Posted by slayer913
    Can Access or Excel support Bi-directional associativity without having to program anything? Simply, I am not yet well versed enough in LISP or VBA or Pyrotechnics to create any third party program to control the associations.
    Hi

    Simple answer "No".

    Might want to check out the following Submission # EX001302 by Karl Browning on the AUGI Exchange Page -

    AUGI Exchange Search Page

    Have a good one, Mike

  5. #5
    Active Member
    Join Date
    2003-09
    Posts
    83
    Login to Give a bone
    0

    Default Re: Automatic BOM Generation

    Thank you for the continual help -

    So I've established that I will need to program some type of in-between program in VBA, with the data stored in an Access Database. Right now I'm learning how to build this database for all of my 3D blocks, also. Basically, looks like this is what I should have happen:

    CAD Block will have the name: T-90-S-3-W

    Export to comma seperated file with Attribute Extraction

    I want Access to read this information and decode it into 5 or so fields, for example:
    Type: Tube
    Fitting: 90 Elbow
    Style: Short
    Size: 3"
    Conn.: Weld

    Am I thinking too hard on this?

    I appreciate any input,
    Albert

  6. #6
    The Silent Type Mike.Perry's Avatar
    Join Date
    2000-11
    Posts
    13,656
    Login to Give a bone
    0

    Default Re: Automatic BOM Generation

    Hi Albert

    Tell the truth you are probably better offer asking and receiving this kind of information within the VBA Forum. The people that generally hang out there I'm sure will be able to help out a lot more on this particular subject (please note I'm not trying to do anyone a disservice here).

    Would you like me to *move* this thread to the VBA Forum?

    Mike

  7. #7
    Active Member
    Join Date
    2003-09
    Posts
    83
    Login to Give a bone
    0

    Default Re: Automatic BOM Generation

    Mike -

    That would be great. Use your powers!

    Take care,
    Albert

  8. #8
    The Silent Type Mike.Perry's Avatar
    Join Date
    2000-11
    Posts
    13,656
    Login to Give a bone
    0

    Thumbs up Re: Automatic BOM Generation

    Hi Albert

    Done.

    Please note this thread has be *moved* from the AutoCAD General Forum to this one.

    Hopefully you will get the assistance and help you require here.

    Thanks, Mike

    Forum Moderator

  9. #9
    Administrator richard.binning's Avatar
    Join Date
    2015-12
    Location
    In the foothills of the appalachians
    Posts
    2,261
    Login to Give a bone
    0

    Default Re: Automatic BOM Generation

    Quote Originally Posted by slayer913
    Thank you for the continual help -

    So I've established that I will need to program some type of in-between program in VBA, with the data stored in an Access Database. Right now I'm learning how to build this database for all of my 3D blocks, also. Basically, looks like this is what I should have happen:

    CAD Block will have the name: T-90-S-3-W

    Export to comma seperated file with Attribute Extraction

    I want Access to read this information and decode it into 5 or so fields, for example:
    Type: Tube
    Fitting: 90 Elbow
    Style: Short
    Size: 3"
    Conn.: Weld

    Am I thinking too hard on this?

    I appreciate any input,
    Albert
    Hi Albert,

    I would take advantage of AutoCAD's built in capabilities and try to take advantage of the dbconnect methods first. You will still be connecting your file to an Access database, but will allow dbconnect to manage the connection.

    Take a gander at the following handout from a previous AU on this subject. Scott McFarlane taught this class and is probably the resident expert on all things database related. Here is some reading/homework material for you:



    P.S. Autodesk University is by far the best place to receive some of this type of training.
    Attached Files Attached Files

  10. #10
    I could stop if I wanted to
    Join Date
    2002-02
    Location
    Kansas
    Posts
    487
    Login to Give a bone
    0

    Default Re: Automatic BOM Generation

    Take a lokk at the Facility sample that comes with AutoCad

Page 1 of 2 12 LastLast

Similar Threads

  1. Mesh Generation
    By Serhan_BAKIR in forum AutoLISP
    Replies: 1
    Last Post: 2010-03-31, 02:42 PM
  2. The Next Generation
    By JD Mather in forum Inventor - General
    Replies: 2
    Last Post: 2008-09-04, 01:21 PM
  3. Corridor Generation
    By wag24 in forum AutoCAD Civil 3D - Corridors
    Replies: 0
    Last Post: 2008-04-29, 01:33 PM
  4. need help with space generation
    By vanderloo5 in forum ACA General
    Replies: 1
    Last Post: 2007-05-25, 12:31 AM
  5. 2D Polygon generation w/ VBA
    By joeposton in forum VBA/COM Interop
    Replies: 3
    Last Post: 2004-12-07, 10: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
  •