Help, I am writing my first VBA app using ESRI's CAD Client ActiveX API. I am trying to run a spatial query against an SDE database to drawing subdivisions into AutoCAD. I can get it work with every kind of query I do not need (entire layer, current view, etc..) but the one I do need (polygon-passthru). I draw the required closed polygon but I can't figureout how to make it the active object in AutoCAD. It needs to be the selected entity just before I run my query. I have tried highlighting it but that does not help. Mark Nelson Idaho Power Company