AutoCAD Mechanical General

Active Contributor
Posts: 35
Registered: ‎10-16-2011
Message 1 of 3 (279 Views)
Accepted Solution

Avoid block overlap

279 Views, 2 Replies
11-10-2013 09:45 PM


Consider this case. Two blocks are availabel in differnt drawing files. But, the inner content of the blocks are different. If i copy the second drawing into first one, the inner content of the second block is changed to first. If i know the exact block name and number of block is less, i can rename the block before i do the copy and paste. In my drawing, there is lot of blocks. So, i unable to locate and rename. So, is it any setting available to automatically change the overlapping block names and by the way avoid changing the inner contents. For example, If both the block names are ABT2K and after copy and paste, it should be two blocks, ABT2K and ABT2K#.  Kindly give an idea.



Distinguished Mentor
Posts: 718
Registered: ‎07-10-2007
Message 2 of 3 (265 Views)

Re: Avoid block overlap

11-11-2013 05:45 AM in reply to: suresh_070379

You may be able to do something like you describe with a LISP. Check over at the customization forum for help with writing such code.


I would think it would be a simple matter of checking the drawing for a name match fro a block and if it exists, then a suffix would be added.

Active Contributor
Posts: 35
Registered: ‎10-16-2011
Message 3 of 3 (259 Views)

Re: Avoid block overlap

11-11-2013 08:29 PM in reply to: steve216586

Hi Stev,

Thanks for the reply. i searched the forum for the rename lisp through your link. It is very useful and find the answer. i have attached the file and link. Eventhough, it is not rename the overlapping block, it is fulfilling my requirement. Using this lisp, i rename all the block names with prefix 1 in the first drawing and paste the second drawing. i am facing this block name problem particularly in the drawings converted from solid works. When i paste all the individual drawings, in single sheet, we are facing overlapping problem. For example, if solidworks drawing has 10 hatches, it will name the hatches as blocks like HATCH 1,2 etc. this will same in all drawings. if we paste two drawings in single sheet, we are facing this problem. Now, we got a solution.



You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community