AllExperts > AutoCAD 
Search      
AutoCAD
Volunteer
Answers to thousands of questions
 Home · More AutoCAD Questions · Answer Library  · Encyclopedia ·
More AutoCAD Answers
Question Library

Ask a question about AutoCAD
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Scott Cook
Expertise
I`ve been using AutoCAD since 1987 and programming AutoLISP nearly as long. I can answer questions about programming AutoCAD (except ARX) and production enhancement techniques. I cannot answer questions about AutoCAD crashes or DWG corruption. AutoCAD PROGRAMMING (menus, lisp) related questions only!

Experience
Since 1987. Author of Plot2000 software for for AutoCAD, http://www.plot2000.com. PROGRAMMING QUESTIONS ONLY PLEASE. Questions that are NOT related to programming or AutoCAD customization (menus and lisp only please) are outside the scope of my volunteer services and will NOT BE ANSWERED.
 
   

You are here:  Experts > Computing/Technology > Computer-Aided Design > AutoCAD > Electrical panel Bill of Materials

AutoCAD - Electrical panel Bill of Materials


Expert: Scott Cook - 11/1/2004

Question
Hi Scott,

Thanks for providing this service.

I work for an electrical eng. firm and I'm trying to find a quick way to make a BOM from an Autocad drawing.

The panel drawings consist of a physical layout of panel components, such as terminal blocks, relays, power supplies, etc.

I'd like to automate the process of counting all the components in a drawing file and populating a BOM, right now we manually count them one-by-one and draw the BOM table.

I'm thinking of creating the components(as blocks) with attributes containing the information I need in the BOM and extracting it to be used in the BOM.

I know how to apply attributes to blocks and can probably figure out how to extract that info into a text file, what I'll need help with is writing a lisp file that will take this information and put it into a table, in Autocad, as lines and text, at a particular spacing.

I'm using Autocad 2002.

thanks,

John

Answer
you can use the attext command to get the info out to the file. there are other free and express tools routines you can use to bring any text file into any drawing.
the attext output file will probably not be in the format you like and will require some manual cleanup.
there is a new feature in 2005 that might do what you want a bit better, but I have only looked at it briefly.


Add to this Answer    Ask a Question



  Rate this Answer
   Was this answer helpful?
Not at allDefinitely              
   12345  

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.