Hi friends. I am developing a CAD software where I am using OCC Viewer. I am displaying multiple mesh using MeshVS_Mesh. The problem is that when a user manually using mouse selectes a mesh (I am selecting mesh based on MeshVS_ET_Face), I am not able to find which mesh was selected.
Could anyone please tell me how to get a selected mesh from AIS_InteractiveContext. When I compare AIS_InteractiveObject that I am getting from context and the AIS_InteractiveObject that I saved when displaying the mesh, the result is always false. Same approach was working with OpenCASCADE 6.3 but ater I updated it to 6.7.2, it stopped working.
Please some help.