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

 All Forums
 AutoCAD
 Lisp & Other Handy Files
 Delete all Layer Filters
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Admin
Administrator



651 Posts

Posted - November 10 2004 :  1:25:30 PM  Show Profile  Visit Admin's Homepage  Reply with Quote
Hello everyone,

I've attached a file called "delfilters.lsp", this file is typically used to selectively delete layer filters.

I was hoping someone can help modify the file so that it doesn't prompt the user if no layer filters exist. (Causes a stall when used in a script)

Basically, the need is to have a lisp that just deletes ALL layer filters without any frills.

I'm sure this is a "piece of cake" for someone!
Anyone?

Thanks,
Bill
Download Attachment: [attachment removed]

Hurricane for AutoCAD
http://www.74mph.com
FAQ at
http://www.74mph.com/faq/faq.html
Tutorials at
http://www.74mph.com/tutorials.html

Admin
Administrator



651 Posts

Posted - November 10 2004 :  2:49:37 PM  Show Profile  Visit Admin's Homepage  Reply with Quote
I hate to reply to my own messages... but I got the better of myself and managed to hack things up enough that they work!

Here is the modified version to remove all layer filters. I've left all the original code in there, in case someone wants to modify it further...

Cheers,
Bill
Download Attachment: delfiltersall.zip
1.53 KB

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

cadtastic
Starting Member



USA
3 Posts

Posted - September 22 2005 :  12:19:59 PM  Show Profile  Visit cadtastic's Homepage  Reply with Quote
I downloaded this lsp file from somewhere else off the web, but if you're the author, than many thanks to you =D

This one lsp "cleans" some of the overloaded drawings that we have by anywhere between 1000% and 3000% (3.5MB -> 350Kb).

Great for saving space!!
Go to Top of Page

Admin
Administrator



651 Posts

Posted - September 22 2005 :  12:39:13 PM  Show Profile  Visit Admin's Homepage  Reply with Quote
No, I am not the author, Stig Madsen is , I just modified the original idea to remove all the Yes/No etc prompts. He has written something quite handy, I just made it a little more scriptable... I often try to make little tweaks to make them easier to use, if they are required.


If you see anything out there that is handy, don't hesitate to post it in here with instructions!
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
  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.23 seconds. Snitz Forums 2000