Print Page | Close Window

Allow all blocks to explode

Printed From: CAD Forum
Category: EN
Forum Name: AutoCAD
Forum Description: Discussion about AutoCAD and AutoCAD LT, viewers, DWG and DWF formats, Design Review, AutoCAD 360, add-ons
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=13885
Printed Date: 31.May.2026 at 18:09


Topic: Allow all blocks to explode
Posted By: deoogo
Subject: Allow all blocks to explode
Date Posted: 18.Aug.2023 at 18:55
Hello guys! 

I need some help, please. Today i'm working on a architectural project and whos does it, locked all blocks to explode (And have a LOT of diferent types of blocks), so i'm loosing so much time entering on the properties to allow explode them, and so, change something that i need. Confused

Does anybody know any way to does it faster? 

(Sorry for any gramatical error) LOL

Tks, 
Diogo.





Replies:
Posted By: Vladimir Michl
Date Posted: 18.Aug.2023 at 22:27
You can load this LISP code and then type the MakeExpl command:

(vl-load-com)
(defun C:MakeExpl ( / bl)
(vlax-for bl (vla-get-blocks (vla-get-activedocument (vlax-get-acad-object)))
 (or (wcmatch (vla-get-name bl) "`**_Space*")
     (vla-put-explodable bl :vlax-true)
 )
)
(princ)
)


-------------
Vladimir Michl (moderator)
ARKANCE - https://arkance.world" rel="nofollow - https://arkance.world - Autodesk Platinum Partner



Print Page | Close Window