The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Hurricane for AutoCAD
 General Discussion
 Explode ALL
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

andrewc119
Starting Member

USA
3 Posts

Posted - April 26 2005 :  08:58:46 AM  Show Profile  Visit andrewc119's Homepage  Reply with Quote
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

Admin
Administrator



652 Posts

Posted - April 26 2005 :  09:07:53 AM  Show Profile  Visit Admin's Homepage  Reply with Quote
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

Hurricane for AutoCAD
http://www.74mph.com
FAQ at
http://www.74mph.com/faq/faq.html
Tutorials at
http://www.74mph.com/tutorials.html
Go to Top of Page

Miksteele
Hurricane-Extreme User

USA
216 Posts

Posted - April 26 2005 :  09:08:52 AM  Show Profile  Visit Miksteele's Homepage  Reply with Quote
Should work... Maybe you could post your script?

Mike Fischer
Fischer Design Group, LLC
Building Model Coordination - Steel Detailing - Connection Design
www.FischerDesignGroup.com
Go to Top of Page

n/a
deleted

112 Posts

Posted - April 26 2005 :  10:42:03 AM  Show Profile  Reply with Quote
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

Steve Bubendorf
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Hurricane Forum © 2009 - 2021 Go To Top Of Page
This page was generated in 0.34 seconds. Snitz Forums 2000