×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Macros

Macros

(OP)
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.

RE: Macros

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

RE: Macros

(OP)
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

RE: Macros

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

RE: Macros

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

Miroslav

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources