Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
Distinguished Contributor
bhuta_n
Posts: 167
Registered: ‎10-19-2006
Message 1 of 7 (1,958 Views)

how to make unexplodable blocks explodable?

1958 Views, 6 Replies
11-01-2007 01:36 PM
hi,
i want unexplodable blocks to be explodable.any help?i know thr is explodable property of a block.but dont know to use lisp...
thanx
*Expert Elite*
_gile
Posts: 2,077
Registered: ‎04-29-2006
Message 2 of 7 (1,958 Views)

Re: how to make unexplodable blocks explodable?

11-01-2007 04:21 PM in reply to: bhuta_n
Hi,

Here's a little routine to put explodable all blocks in the drawing

(defun c:expl-p ()
(vl-load-com)
(vlax-for b (vla-get-Blocks
(vla-get-ActiveDocument (vlax-get-acad-object))
)
(or (wcmatch (vla-get-Name b) "`**_Space*")
(vla-put-explodable b :vlax-true)
)
)
(princ)
)
Gilles Chanteau
Distinguished Contributor
bhuta_n
Posts: 167
Registered: ‎10-19-2006
Message 3 of 7 (1,958 Views)

Re: how to make unexplodable blocks explodable?

11-02-2007 12:13 AM in reply to: bhuta_n
thank u
i will have to work on it for my needs
Distinguished Contributor
MadMage863
Posts: 169
Registered: ‎10-16-2007
Message 4 of 7 (1,958 Views)

Re: how to make unexplodable blocks explodable?

11-02-2007 10:58 AM in reply to: bhuta_n
Open the block in the block editor and, without selecting anything, open properties. Near the bottom should be the 'allow exploding' pulldown options.
Distinguished Contributor
moon47usaco
Posts: 198
Registered: ‎04-24-2006
Message 5 of 7 (1,958 Views)

Re: how to make unexplodable blocks explodable?

05-13-2008 11:05 AM in reply to: bhuta_n
Thanks gile

=]
Distinguished Contributor
Tom Smith
Posts: 3,729
Registered: ‎12-17-2003
Message 6 of 7 (1,958 Views)

Re: how to make unexplodable blocks explodable?

05-13-2008 01:56 PM in reply to: bhuta_n
I thought you said you had far too many blocks to handle this way.
Valued Mentor
RockyBrown4134
Posts: 395
Registered: ‎04-20-2006
Message 7 of 7 (1,295 Views)

Re: how to make unexplodable blocks explodable?

06-07-2013 11:46 AM in reply to: _gile

Gilles;

Just cleaning up some old post. I just wanted to say thank you for this simple but great tool.

If this response answers your question, Please mark this response as "Accept as Solution"

RockyBrown
Aluminum Ladder Co.
AutoCAD 2012 / Inventor 2012

You are not logged in.

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

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

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

Ask the Community