Please answer Jan's question: What version (e.g. v10.x.y.z) of MicroStation, or other product, are you using?
Bhuvaneswari T said: the error occurs only in
Split that test into two parts so that you can check each part individually...
If oMStn.Point3dInPolygonXY…