AutoCAD - LISP to find double overlayed blocks

AutoCAD - LISP to find double overlayed blocks

karpki
Advocate Advocate
781 Views
3 Replies
Message 1 of 4

AutoCAD - LISP to find double overlayed blocks

karpki
Advocate
Advocate

Hi All,

 

Too often I come up with cases when quite a huge drawing with hunderds of blocks contains overlays. So when I count blocks there are many mistakes in the result.

 

Small example of such drawing is enclosed. The block W-NEV 2800WP seems like sinle but in fact there are two of them ovelayed.

 

The aim is to find a lisp programm which can check all the blocks, find overlays and mark them by f.e. red circle

 

Unfortunatelly my own knowledge of lisp is not enough to code it myself.

 

Please help!

 

Thank you in advance

 

Best regards

Kirill

karpki_0-1673593729456.png

 

[ The subject line of this post has been edited for clarity by @handjonathan Original: LISP to find double overlayed blocks ]

 

 

0 Likes
Accepted solutions (1)
782 Views
3 Replies
Replies (3)
Message 2 of 4

cadffm
Consultant
Consultant
Accepted solution

Why a Lispprogram? (you will find some lisptools to delete doubled objects,

but I like to show the ootb way:

 

 

Command Overkill (with no options enabled - if you are search extact copies only.

https://help.autodesk.com/view/ACD/2023/ENU/?guid=GUID-44B9ECFC-752C-4CC5-9DA3-84DBF3B17CA6

See also they second part of this page:

https://help.autodesk.com/view/ACD/2023/ENU/?guid=GUID-5150F6AD-3FEC-4BA0-8905-5154ABBB6E9A

Sebastian

0 Likes
Message 3 of 4

karpki
Advocate
Advocate

Thank you! In this drawing it works indeed, just tested. Should say that my last try about a year ago was not so successful. Since that time I ignored this command and checked everything manually. Unfortunatelly can't find those files for giving the proof.  

 

If someone can anyway send a lisp code, that will be very usefull. 

 

Best regards

Kirill

0 Likes
Message 4 of 4

cadffm
Consultant
Consultant

>>"Unfortunatelly can't find those files for giving the proof.  "

If overkill don't find it, the objects don't have the same properties.

It really looking for identical - not just for "near to the same" properties.

 

But without the drawing we can not find the difference in this case.

 

Rock on

Sebastian

0 Likes