Display full version of the post: Allow all blocks to explode

deoogo
18.08.2023, 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. Does anybody know any way to does it faster? (Sorry for any gramatical error) Tks, Diogo.

Vladimir Michl
18.08.2023, 22:27
You can load this LISP code and then type the MakeExpl command:[CODE](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))[/CODE]