PDA

View Full Version : Bill of Materials in AutoCAD MEP?



Siberian
14th Mar 2008, 12:27 pm
Anyone know how to make a BOM (bill of materials) in AutoCAD MEP? Can't seem to find any command or other way to achieve this...

RFRUSSO
14th Mar 2008, 05:26 pm
AutoCAD MEP?! Thjis is the Revit section my brotha'

StykFacE
14th Mar 2008, 07:43 pm
This is what I use. It creates an Excel Spreadsheet for all MvParts, and other tools used. Great program. Just add/enable it in your Macro Load menu (Cad Manager > Macro > Load Project...) and then run the file named "Main" at the end under your Macros Dialog Box. :)

Siberian
15th Mar 2008, 02:05 am
So there really isn't a built-in thing for this...? Wierd...
I can't seem to make your program work proparly. It keeps telling me "Can't find project or library". I so don't get VB :(

StykFacE
3rd Apr 2008, 02:13 pm
So there really isn't a built-in thing for this...? Wierd...
I can't seem to make your program work proparly. It keeps telling me "Can't find project or library". I so don't get VB :(

Here is how you run it:

Go to CAD Manager > Macro > Load Project.
http://farm4.static.flickr.com/3155/2385301350_365885254f_o.jpg

Now browse for the file and Open it from whatever directory you saved it under.
http://farm3.static.flickr.com/2061/2385301360_9e51b06715_o.jpg


Next, go to CAD Manager > Macro > Macros... and select the 4th option down as in the picture below (the modMain.main file) and hit the Run button.
http://farm3.static.flickr.com/2163/2385301386_7271056d9e_o.jpg


Then it will create the Excel BOM that you're wanting. :)

chee_dee
3rd Apr 2008, 03:27 pm
book marked

chee_dee
5th Apr 2008, 09:41 am
tells me it can't find project or library as well :(

SEANT
5th Apr 2008, 10:23 am
One of the reason this will happen is if the project (.dvb) references a version of Excel different from what is on the current machine. From within the VBAIDE, look if anything is listed as "Missing" in References. If it is Excel, select the correct version (may have to scroll down to locate it) for the machine.

chee_dee
7th Apr 2008, 10:24 am
these are whats missing:

AEC MEP 5.5 Application Library
AEC MEP 5.5 Base Object Library
AEC MEP Plumbing 5.5 Base Object Library

SEANT
7th Apr 2008, 11:04 am
Apparently this VBA project is very AEC MEP specific. If you are trying to use it with Standard AutoCAD 2007, the project will likely need modification to avoid tripping up on those missing libraries.

ZERYAB
21st Jul 2008, 10:37 am
Here is how you run it:

Go to CAD Manager > Macro > Load Project.
http://farm4.static.flickr.com/3155/2385301350_365885254f_o.jpg

Now browse for the file and Open it from whatever directory you saved it under.
http://farm3.static.flickr.com/2061/2385301360_9e51b06715_o.jpg


Next, go to CAD Manager > Macro > Macros... and select the 4th option down as in the picture below (the modMain.main file) and hit the Run button.
http://farm3.static.flickr.com/2163/2385301386_7271056d9e_o.jpg


Then it will create the Excel BOM that you're wanting. :)

Can you please add calculated plumbing lines size (in dia) also. Regards, ZERYAB

ZERYAB
21st Jul 2008, 10:46 am
I need to include Plumbing lines Dia also in your macro. Can u? please

ZERYAB
24th Jul 2008, 06:44 am
Great Program! It will be more useful if it can generate plumbing lines lengths with calculated pipe sizes (dia). Can you modify it and send it to me.
Regards,
ZERYAB

buzz
6th Aug 2008, 01:38 am
I created a Duct Material Schedule that calculates sheet metal area, weight, liner area, lengths, etc. - it was done with the use of Property Set Definitions. You could accomplish the same thing for Piping.

-Buzz

ZERYAB
6th Aug 2008, 08:28 am
Plumbing ducts do have parameters like length, dia meters etc, but plumbing lines do not, can you please check it, if there is any option?

buzz
6th Aug 2008, 03:44 pm
Piping objects do have Length, plumbing lines do too, but you have to add them to the Property Set Definitions...

-Buzz

buzz
6th Aug 2008, 04:00 pm
Check out my blog site for the Duct Material Schedule...

http://geniusoft.blogspot.com

-Buzz

ZERYAB
11th Aug 2008, 11:50 am
You are genius, the information you have provided me really worked... thank you

ZERYAB
11th Aug 2008, 11:57 am
but can you tell me the next procedure to create schedule for plumbing lines as its not available in the Shedule and Tag option for plumbing. please your quick reply is needed

jameslove2012
2nd Jan 2012, 02:35 am
When the length of a pipe or duct is over 50000 units, the VB programme stopped, it said 'Overflow'. The problem line is follow:

arrABS_Object(2, i) = CInt(arrABS_Object(2, i)) + aDuct.Length 'add one to the # of same column to the identical Duct

Please correct it if you can, thank you.

blackeagle1245
10th Jan 2012, 04:27 pm
I have these libraries but the route is different even If I show the file it still says missing

blackeagle1245
12th Jan 2012, 01:51 pm
I choose 6.5 version of those libraries instead of 5.5 . I solved these problem but now it says object doesnt support this property or method.