The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 AutoCAD
 Lisp & Other Handy Files
 Delete all Layer Filters

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
Admin Posted - November 10 2004 : 1:25:30 PM
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]
3   L A T E S T    R E P L I E S    (Newest First)
Admin Posted - September 22 2005 : 12:39:13 PM
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
cadtastic Posted - September 22 2005 : 12:19:59 PM
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!!
Admin Posted - November 10 2004 : 2:49:37 PM
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

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