I'm very new to OPEN CASCADE. Can someone please let me know how to get the shape from AIS_InteractiveObject which used to view the shapes. Thanks.
There are no direct functions to get the shapes. I checked with the class discription in Open CASCADE documentation.
Let's say you have your AIS_InteractiveObject called "interactiveObj". You can downcast this to "AIS_Shape" first.
Then you can get the TopoDS_Shape from the object.
This is the simple method.