Using GetPoint to get a point, a face will be highlighted when mouse hover on. Is it possible to get this face?
I want to implement a function drawing rectangle similar with SU
- Move mouse on screen, and get point and face
- Draw a rectangle to show which plane will be used to draw rectangle.
Currently, I use a class derived from GetPoint, and get object using PickContext in method MouseMove, and then parse object’s geometry to get nearest intersected face. It is inconvenient to parse geometry of different objects.
Otherwise, It will be nice if there is method/class similar to GetObject that can get faces/objects by inputed screen point not by mouse click.