make sure your selection any of:
object
3DPoly, Leader, LightweightPolyline, Point, PolyfaceMesh, PolygonMesh, Polyline, Solid, Trace The object or objects this property applies to.
(vla-get-Coordinate (vlax-ename->vla-object (car(entsel))) 1) return:
; ??: ActiveX ???????: ????: Coordinates
(error,activex retuen error:unknow name:coordinates)