Eng-Tips is the largest forum for Engineering Professionals on the Internet.

Members share and learn making Eng-Tips Forums the best source of engineering information on the Internet!

  • Congratulations JStephen 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
Joined
May 5, 2006
Messages
19
Location
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.
 
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

Back
Top