[MSCE VBA] How to deal with no Intersection in RaySolidIntersection

As we all know, Ray3d/Plane3d Intersection are Boolean function in VBA. We can use RaySolidIntersection method to get the intersection point between SmartSurface and Ray3d. However, if there are no intersection, error will be occur.

SmartSolidElement Object were introduced in MSV8i whereas in version 08.05.01 Bentley has known that similar issue. Thus, what are the general designed measures for Bentley to handle this runtime exception?

Reference:

Note that after MicroStation V8 2004 Edition (8.5.0), the Plane3dIntersectPlane3d and Plane3dIntersectRay3d methods were deprecated. These methods returned the intersection ray/point if one was found; otherwise they threw a runtime exception. Their replacements Plane3dIntersectsPlane3d and Plane3dIntersectsRay3d return a Boolean value to indicate the presence or absence of intersection and return in the first parameter the intersection ray/point if found.