The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Hurricane for AutoCAD
 General Discussion
 Explode ALL

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Attach a File

Check here to subscribe to this topic.
   

T O P I C    R E V I E W
andrewc119 Posted - April 26 2005 : 08:58:46 AM
Does anyone have a lisp routine that will pick everything and let you explode it from a script.

Explode
Select all

Does not always work from scripts.

Thanks
Andrew
3   L A T E S T    R E P L I E S    (Newest First)
n/a Posted - April 26 2005 : 10:42:03 AM
Andrew,
I am attaching some stuff I found relating to your question. I haven't tested any of them, but maybe something will help.

I'm not sure if you are trying to explode everything, or only blocks. I believe xpall.scr used with xpall.lsp will explode only blocks, but it is supposed to get nested blocks, as well.

Explodeall.scr used with explodeall.lsp I think is all you are really looking for, but I don't think it will get nested blocks. It appears an undocumented system variable (QAFLAGS) may need to be set and reset according to some of the posts I saw on another forum. I attached some of those posts for your info.

Expall.scr is an attempt to do the same thing as explodeall, but without the need for a separate LSP file. I'm not real good with scripts, so maybe Bill or Mike can look it over and modify it if they think it needs help in order to run.

Other things to look for: are all your layers on and unlocked? Are you zoomed to extents? (One of the posts I read indicated that only on-screen entities will be exploded, although that sounded surprising to me, and I haven't checked it.) If you are selecting all, it was suggested in one of the posts, that as soon as the script hits an item such as a line which cannot be exploded, it will terminate. If you are looking to explode only blocks, rather than scripting to explode all, maybe using lisp to filter for blocks only, or for blocks and mtext and dimensions, etc. may allow the script to complete without "choking" on items that can't be exploded.

None of the stuff other than Expall.scr originated with me. (I can't take credit or blame). I hope something will help.

Download Attachment: Scripts & Lisps.zip
1.55 KB

Download Attachment: Forum Posts-Explode All.zip
139.08 KB
Miksteele Posted - April 26 2005 : 09:08:52 AM
Should work... Maybe you could post your script?
Admin Posted - April 26 2005 : 09:07:53 AM
Hi Andrew,

What you are attempting to do always works for me, I would suspect that it has something to do with your drawing.

Maybe if you post a little more info, like the error you get when attempting to Explode, others might be able to help more.

Regards,
Bill

The Hurricane Forum © 2009 - 2021 Go To Top Of Page
This page was generated in 0.22 seconds. Snitz Forums 2000