TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: mailmaverick on January 28, 2021, 03:18:37 AM

Title: Copy Layerfilters
Post by: mailmaverick on January 28, 2021, 03:18:37 AM
How to Copy Layerfilters from one AutoCAD file to another (please see attached image) ?
Title: Re: Copy Layerfilters
Post by: mm_clover on September 17, 2021, 09:55:47 AM
who can answer this quetion?please tell us,thanks!
Title: Re: Copy Layerfilters
Post by: danAllen on September 17, 2021, 11:47:21 AM
I don't know how to copy, but I have my startup lisps create standard filters in all our drawings using:
https://www.theswamp.org/index.php?topic=45440.0 (https://www.theswamp.org/index.php?topic=45440.0)
Title: Re: Copy Layerfilters
Post by: mhupp on September 17, 2021, 09:40:50 PM
If those are layer states this will do the job.

http://www.lee-mac.com/steal.html
Title: Re: Copy Layerfilters
Post by: mm_clover on September 18, 2021, 10:33:09 AM
I don't know how to copy, but I have my startup lisps create standard filters in all our drawings using:
https://www.theswamp.org/index.php?topic=45440.0 (https://www.theswamp.org/index.php?topic=45440.0)
thank you !
Title: Re: Copy Layerfilters
Post by: mm_clover on September 18, 2021, 10:34:36 AM
If those are layer states this will do the job.

http://www.lee-mac.com/steal.html
Lee Mac's steel.lsp is very Good!
Title: Re: Copy Layerfilters
Post by: Lee Mac on September 19, 2021, 03:53:17 PM
If those are layer states this will do the job.

http://www.lee-mac.com/steal.html
Lee Mac's steel.lsp is very Good!

Thank you  :-)
Title: Re: Copy Layerfilters
Post by: mhupp on September 19, 2021, 11:25:51 PM
If those are layer states this will do the job.

http://www.lee-mac.com/steal.html
Lee Mac's steel.lsp is very Good!

Thank you  :-)

No thank you!
Title: Re: Copy Layerfilters
Post by: tombu on September 20, 2021, 10:40:10 PM
Pretty good thread on the AUGI forums https://forums.augi.com/showthread.php?173035-Importing-Layer-Filters-into-multiple-drawings
Civil 3D commands LayerLoadFilterTree & LayerSaveFilterTree as well as lisp and insight.

http://forums.augi.com/showthread.php?97438-Can-I-create-frequently-used-layer-filters-in-LISP&p=952247&viewfull=1#post952247
Here's an Import/Export layer filter LISP by _gile.
It works with propety layer filters.

EXPFLTR exports a layer filter from the current drawing to a text file (extention: .flt)
IMPFLTR imports a layer filter from a flt file or a drawing.