You can use a method similar to this: GetEntityType_
Additionally this might be of interest: Better error checking for CountSurfaces() and GetHandleType(handle)
Fredborg
Additionally this might be of interest: Better error checking for CountSurfaces() and GetHandleType(handle)
Fredborg