first of all thank you for this great and powerful piece of software. I´m trying to write an iges/step file import using xde and its working pretty good. There is just one tiny little detail left that is not working correctly.
At the moment i read the files using the IGESCAF/STEPCAFControl_Reader. With the XCAFDoc_DocumentTool::ShapeTool i get all the free shapes, iterate over them and load all the surfaces and trimming curves. With the XCAFDoc_DocumentTool::ColorTool i used to get the color for the shapes which is working fine for step files.
But when i try to load iges files i just don´t get any color for any shape. Calling the GetColors(TDF_LabelSequence...) gives me two colors in the sequence which are defined in the iges file. When i step over all the shapes calling the function GetColor(TopoDS_Shape, XCAFDoc_ColorType, Quantity_Color) it will never get true and won´t ever give me the assigned color. I tried a lot now, but i just couldn´t get it managed to work. Using Roman Lygin´s CAD Exchanger everything looks fine and the colors are right.
I´m really a bit hopeless with this now and i wanted to ask if there is another way the get the color assigned to a shape.