×
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

Add Mass and Filename in BOM ( Nomenclature )

Add Mass and Filename in BOM ( Nomenclature )

Add Mass and Filename in BOM ( Nomenclature )

(OP)
Hello, Anybody know how to and add mass and filename to every part of the assembly (CATProduct) ?, i know it's "product.Analyze.Mass" for mass but for filename ??

 I've already added a "Mass" and a "Filename" field in product propieties but a can't create the macro to fill them
I don't know how ho create a macro who fill the fields of each part of the assembly

Thanks.

RE: Add Mass and Filename in BOM ( Nomenclature )

(OP)
Hi, yes all parts has a standard density
I don't know how to transfer Mass and filename of each part into my BOM (like in my attachement)

What I want is something like this :

Dim arrayOfVariantOfBSTR1(6)

arrayOfVariantOfBSTR1(0) = "Quantity"
arrayOfVariantOfBSTR1(1) = "Part Number"
arrayOfVariantOfBSTR1(2) = "Type"
arrayOfVariantOfBSTR1(3) = "Nomenclature"
arrayOfVariantOfBSTR1(4) = "Revision"
arrayOfVariantOfBSTR1(5) = "Mass" 'addition
arrayOfVariantOfBSTR1(6) = "Filename" 'addition

Thanks

RE: Add Mass and Filename in BOM ( Nomenclature )

Hi,

I'm a little bit disappointed because I thought if I put a lot of examples in that chm file, it could be helpful for CATIA users trying to find solutions....

If you will search in those different CATScripts, I'm sure you can find something to adapt to your needs.

I'm not a programmer and not even a CATIA user now, but if I look to few examples I can try to create something which could be useful.

You can't learn if you don't show to others what you tried to do.

Anyway....here is your example.

Regards
Fernando

RE: Add Mass and Filename in BOM ( Nomenclature )

(OP)
I finally found by myself, Thanks anyway

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