LauKwokFai Posted June 9, 2015 Share Posted June 9, 2015 Hi, I wonder if I can make a list of "un-print layers", the (tblsearch "layer" "layername") doesn't show this status. Thank you !! Quote Link to comment Share on other sites More sharing options...
Tharwat Posted June 9, 2015 Share Posted June 9, 2015 You can with something like this . (defun _ListUnprintLayers (/ l lst) (while (setq l (tblnext "LAYER" (not l))) (if (zerop (cdr (assoc 290 (entget (tblobjname "LAYER" (cdr (assoc 2 l))))))) (setq lst (append lst (list (cdr (assoc 2 l))))) ) ) lst ) Quote Link to comment Share on other sites More sharing options...
LauKwokFai Posted June 9, 2015 Author Share Posted June 9, 2015 great Tharwat, Thank you so much ! Quote Link to comment Share on other sites More sharing options...
Tharwat Posted June 9, 2015 Share Posted June 9, 2015 great Tharwat, Thank you so much ! You are welcome anytime Quote Link to comment Share on other sites More sharing options...
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.