Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

Updating Bill of materials

arrichar

New member
I would like to have a BOM that has updating weights as the prts and properties change. This should be a super easy function, and the only way I have found requires me to use the edit program under the tools menu. Any help?
 
Add this to your relations in your parts:


weight=mp_mass("")


Then in your BOM in repeat region relations write:


if rpt_qty==1
total_we=asm_mbr_weight
else
total_we=rpt_qty*asm_mbr_weight
endif


I made it with anIF function for my BOM's because I have qty shown as well in BOM and only like this I made it to work. (total_we is the total weight if you have the same part twice or more)


Then add &rpt.rel.total_we and &rpt.qty to your BOM.
 

Sponsor

Back
Top