This should list the enames of all references. From there it's up to you...
(findBlkEnams YOURBLOCKNAME)
(defun findBlkEnams (nam)
(if (tblsearch "BLOCK" nam)
(mapcar
'cdr
(vl-remove-if-not
'(lambda (x) (= (car x) 331))
(entget (cdr (assoc 330 (entget (tblobjname "block" nam))))) ) ) )
)
Don
"CS" <> wrote:
I am trying to locate a particular block in an Acad 2000 drawing in order to delete all occurances of it in that drawing. When I purge the drawing, that block still shows up on the block list as being referenced in the drawing. Is there a way to "find" that block's location in the drawing?
Thanks...