I sucessfully managed to load and display a step file with XDE.
It consists of one assembly with to solids.
GetFreeShapes returns 1 label and I attached a TPrsStd_AISPresentation to it.
The next step I want to take is adding custom data to the solids and faces in the assembly.
I am able to select individual solids and faces
but when I get the TPrsStd_AISPresentation with SelectedInteractive()->GetOwner() it refers to the assembly.
Should I add Labels in the document for the solids and faces also? I think I have to
What is the best way to do this? I partly succeeded with using ShapeTool::GetComponents on the freeshapes
but that only gave me the solids.
In the mean time I will read the XDE and OCAF guides again.