Look, if you try to use DXF 10 Group Code for INSERT entities as some kind of center of small spheres, you could avoid previously maybe better approach through center of Bounding Box... I'd use (vla-getboundingbox (vlax-ename->vla-object INSERT-ENAME) 'minpt 'maxpt) and then (setq midpt (mapcar (function /) (mapcar (function +) (mapcar 'safearray-value (list minpt maxpt))) (list 2.0 2.0 2.0)) )... When you get midpt, you either use exact BBOX : (vl-cmdf "_.BOX" "_non" minpt "_non" (list (car maxpt) (cadr maxpt) (caddr minpt)) (- (caddr maxpt) (caddr minpt))), or small sphere : (vl-cmdf "_.SPHERE" "_non" midpt 1.0) [radius=1.0]... Then when you create those solids, you should think how could you link blocks to solids... There are several ways, but for me the simple one is to group them with GROUP command... Then just use my code, and after highlighting, press ctrl+shift+A combo to switch to auto group mode off/on... If solids are still selected with blocks, go to qselect, filter for just non solids and there you are - use SELECT command, press ENTER, then do with qselect filtering of solids and hit del... Finally, you should have (ssget "_P") which should have all your desired blocks in bounding perimeter of reference 3DSOLID... For visualization, use (sssetfirst nil (ssget "_P"))...