How to determine the kind of object selected by the user?

joshtargo
joshtargo Member Posts: 695 EDU
I need to get a direction vector. if the user selects an edge I can do it, if they choose a face i think i can use the normal to do it, but how do i determine the type of object the user selected so i can apply different code?

this is to align a new mate connector's Z axis.

Comments