Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Macros

Status
Not open for further replies.

windsurf

Automotive
May 5, 2006
19
GB
Does anyone have macros that will create a mass in the analyze BOM function, it seems bizarre that catia comes as a default without it but I can't seem to find any solution?

Also has anyone a macro that will put the drawing number in correctly when doing drawings, taking it from the file name as an example?

Thanks.
 
Replies continue below

Recommended for you

I can point you in the right direction but can't just give you the macros.
Create a mass parameter in property page of part
create a formula that ties the partbody volume * density of material
now when you analyze the BOM you will have weight to the parts.

Regards,
Derek
 
Thanks Derek, although this is where I am actually at already the part has an associated mass linked to the material density, but is still not giving me a component mass when I analyse it.

Mark
 
Mark - If you are working in Assembly design - contextual menu of the part. In the product tab of the part you should have your parameter that is defined as mass. Here is an example from my relations tree.
f(x)Formula.13:`Properties\Block Weight`=smartVolume('Cavity Block\PartBody` )*`Cavity Block\Density`
If I analyze the BOM I get a field called Block Weight

Regards,
Derek
 
Hello "windsurf",
for our company is no problem to develop special macros from your request.
Best regards

Miroslav
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Top