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.
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 )
Can you elaborate a little bit more?
All your parts have a standard/default density or not?
Do you have material applied in your parts or not?
I see that you want a BOM.
You want something like here http:
Regards
Fernando
RE: Add Mass and Filename in BOM ( Nomenclature )
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 )
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 )