using filter on acad proxy objects

  • Thread starter Thread starter mkh
  • Start date Start date
M

mkh

I received a dwg from an engineer with lots of proxy objects in it. Is there
a way to use "filter" command so I can erase them all at one time?

Mike
 
Mike,

Here is something that will get you started, but you will have to figure out a way to erase the one's within other layouts other then the current one.

Tim
(defun c:PG(/ pg1)
(setq pg1 (ssget "x" '((0 . "ACAD_PROXY_ENTITY"))))
(if (/= pg1 nil)
(sslength pg1)
(prompt "\nNo proxy's in drawing. ")
)
(princ)
)
 
works great....layouts are not a problem for my use. I am erasing only in
model space. I appreciate it very much.

Mike


T.Willey said:
Mike,

Here is something that will get you started, but you will have to figure
out a way to erase the one's within other layouts other then the current
one.
 
Back
Top