I was wondering if there are any known issues running CATIA API from another program (using COM) on 64-bit Windows systems. This is where you run:
catapp = GetObject(, "Catia.Application")
spelled however it's spelled in the language you're using (and I've tried several). The scripts work...
You two actually both did help. Once it was pointed out that the color palette is stored with the Part (which is kind of obvious in retrospect) I found the color palette I was looking for (Part.Colors). Then I realized that the color I see in the display window is actually face color, and it...
According to the documentation, DisplayableObject has a Color property, but it's an index, and I'm not sure what it's an index into. I assume it's am index into a palette (maybe a CDF object), but I don't know how to access the palette for a given object.
I tried passing the Color property...