Hello,
Command BE will give you the details of the Blocks which are currently present in the drawing.
Then you could select 1 block which you need > right click > select similar
So all the similar blocks would be selected.
Highlighting the selection you can check which similar blocks have been exploded which has not been included in the selection.
Or please post your drawing and your requirements.
Cheers,
Vinay Vijayakumaran
Hi,
>> How to find the exploded blocks <<
exploded blocks will convert to normal CAD elements that can not be recognize from autocad as a one unit block. so the answer for your need is there is no direct way to find exploded blocks .
Regards,
Imad Habash
even with autolisp there is no way to do what you want. after the block is exploded all that is lefft are Autocad entities, the software has no recelection that those entities were ever part of a block. Now you could possibly do soething with lisp and ldata or xdata and add someting to all the subentities of a block so tht later on when it is expoded you could use a lisp to determine what it was. but if you are working with native built blocks or exsting, or something from someone else, it wouldnt do you any good.
Christopher T. Cowgill, P.E.
AutoCAD Certified Professional
Civil 3D Certified Professional
Civil 3D 2024 on Windows 10
Please select the Accept as Solution button if my post solves your issue or answers your question.
Hi,
>> What can I do to find blocks exploded with AutoLisp
As long as the block definition is stored in the drawing you can now scan through the complete modelspace and paperspace entities to find geometry objects that are exactly equal as the ones in the block definition. But that's a huge effort (just guess about dynamic blocks with parameters and visibility states).
As already presented in this thread ... when a block-insertion was exploded these new entities do not know that they were part of a block-insertion. Only command _UNDO get this destructive command back.
If you want to write an application which does the exploding of blocks and store on that new objects the source block-definition, then ok, that can be done.
But if objects are exploded and you only have lines and arcs it's close to impossible to know which block-insertion they belonged to.
- alfred -
@Vinayv4v's suggestion about using select similar will get you as close as possible without writing some complex program. I did a brief search online, and I'm not seeing anything like this that even exists out there. I believe that it would be overly complicated to write something. You could use the select similar to find lines, that are similar, but it doesnt pay attention to length or anything else. I pretty much think you are out of luck, unless another user that already has something similar to what you are asking in their lisp library. To write something new that would be able to do this, I'm guessing it would take several hours of coding.
Christopher T. Cowgill, P.E.
AutoCAD Certified Professional
Civil 3D Certified Professional
Civil 3D 2024 on Windows 10
Please select the Accept as Solution button if my post solves your issue or answers your question.
@mttlp wrote:
I want to find the same shapes in my drawing
As others have said, there is not much you can do. And AutoLISP is not always a magic wand.
It most likely the drawing has been purged or just this block has been deleted from the drawing for some reasons, if you don't find it by following Vinay's comment.
There are two things you may want to try:
1) find the drawing backup file with ".bak" extension in the same folder. Then change it to ".dwg".
Now you may be able to find the block, but may be not.
2) Simply to block the "exploded block" and give it a name in your way.
HTH