I need to convert a few Catia stp files(assembly with about 200 components) into CATPart from Product.
I was wondering if there's a way to keep in the new file the original color of the stp one.
CAD2015,
If I understand correctly, You are opening a .stp file.
The result is a CATProduct.
You want to convert Assembly to a single CATPart, maintaining the colors.
You are using the "Generate CATPart from CATProduct operation.
Try going into the "Product Data Filtering"
Then Choose the Product to Part Option within that work bench.
You will have some additional options, such as overloaded faces.
I believe that I do not have the license for "Product Data Filtering".
What's its abbreviation to look for (under Options>General>Sharable Products/Licensing)?
The simplest solution i found was to use the command "Associativity" or "Add to Associated Part" in Assembly Design workbench.
Both commands do basically the same, they copy with link the types of geometry you select from all parts in a product into a single CATPart.
After i run the command, i usually isolate the resulting CATPart and that's it.
Great example, thank you so much!
Unfortunately, the conversion is identical with the "Generate CATPart from Product"(no original color display).......
I tried one more time, following your example.
I got the same result: all the previous components have been copied, but without the original color(all of the copied solids are grey).
I use Catia Version 5-6 R 2017.
Thanks again for your replies and for your time.
Hi,
This time, I used a different computer, with a different Catia software(R21).
I created a dummy Catia product and I run the "Generate CATPart from Product".
This time, I got the same color like the original.
I believe that it must be a setting in Catia Options that allow to get a CATPart from a Product, saving original colors.
Does anybody have a suggestion in this matter?
I have been through this issue as well, I found that it just depends on how the product is actually colored.
If the color was applied at assembly, or to the part body it worked correctly, but if the color was applied to each face of the part, then the AllCatPart function did not translate the color.
I would use the same "Dummy" Catproduct on each computer to verify they do yield different results.