chulse Posted June 1, 2010 Posted June 1, 2010 Is it possible to set a specific layer filter programmatically (i.e. to include in acaddoc.lsp and apply on file open)? Thanks Quote
Lee Mac Posted June 1, 2010 Posted June 1, 2010 AFAIK, you can create a layer filter through LISP, or query the properties of an existing filter (filters are stored as XRecords in the Extension Dictionary of the Layer Collection), but without going through the Layer Manager, you cannot set the filter current through LISP. Quote
chulse Posted June 1, 2010 Author Posted June 1, 2010 AFAIK, you can create a layer filter through LISP, or query the properties of an existing filter (filters are stored as XRecords in the Extension Dictionary of the Layer Collection), but without going through the Layer Manager, you cannot set the filter current through LISP. I was afraid of that. Thanks Quote
Lee Mac Posted June 1, 2010 Posted June 1, 2010 You're welcome, sorry to be the bearer of bad news Quote
autocart Posted November 2, 2011 Posted November 2, 2011 Hi, it IS possible: http://www.theswamp.org/index.php?topic=39209 Quote
sadhu Posted June 28, 2013 Posted June 28, 2013 Have a look at this .. it works for me. (command "._-layer" "filter" "new" "group" "" "YOUR_FILTER*" "YOUR_FILTER_NAME" "" "") YOUR_FILTER* = put your filter wildcard YOUR_FILTER_NAME = name of filter - will become current Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.