pmayer Posted June 28, 2017 Share Posted June 28, 2017 How can I filter a selection of hatch by gradient name using ssget fonction? The exeample bellow works well for standard hatch name... it does not work for gardient WORK: (setq ss (ssget "_X" (list '(0 . "HATCH")'(2 . "GRASS")))) DONT WORK: (setq ss (ssget "_X" (list '(0 . "HATCH")'(2 . "gradient")))) OR (setq ss (ssget "_X" (list '(0 . "HATCH")'(2 . "gr_spher")))) Could you help me? Quote Link to comment Share on other sites More sharing options...
Jef! Posted June 28, 2017 Share Posted June 28, 2017 Gradient hatches have a 1 as a value at dxf 450.. (setq ss (ssget "_X" (list '(0 . "HATCH")'(450 . 1)))) cheers ps.: search for dxf reference.. very helpful:) Quote Link to comment Share on other sites More sharing options...
pmayer Posted June 28, 2017 Author Share Posted June 28, 2017 Thank you! work perfectly Quote Link to comment Share on other sites More sharing options...
Jef! Posted June 28, 2017 Share Posted June 28, 2017 I'm glad I could help you out! 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.