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!

Add Mass and Filename in BOM ( Nomenclature )

Status
Not open for further replies.

FinalC

Mechanical
Nov 24, 2009
3
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.
 
Replies continue below

Recommended for you

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
 
 http://files.engineering.com/getfile.aspx?folder=a9354fd1-a350-4f94-9383-cc4e2469a4ec&file=pic.jpg
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
 
 http://files.engineering.com/getfile.aspx?folder=382c7357-1a80-4df4-984f-47f4eab29622&file=Some_user_properties.zip
I finally found by myself, Thanks anyway
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor