barristann Posted March 4, 2023 Share Posted March 4, 2023 Hi all. Is possible to use lisp to change ALL polylines of layer named "Object_1" and "Object_2" to have Linetype = Dashed Linetype Scale = 1.2 Global Width = 1 Thank you Quote Link to comment Share on other sites More sharing options...
Steven P Posted March 4, 2023 Share Posted March 4, 2023 Yes, Basic ideas: This link will explains what you need to do to do the selection part: http://lee-mac.com/ssget.html and the second or 3rd result of an internet search even does that for you: https://www.cadtutor.net/forum/topic/71231-select-all-polylines-of-certain-layer-and-fillet-them/ (setq sel (ssget "_X" (list '(0 . "LWPOLYLINE") '(8 . "OBJ1") (cons 410 (getvar 'CTAB))))) and then the next part use (command "chprop" sel ... )and follow the prompts you'd use to change the linetype from the selection 1 Quote Link to comment Share on other sites More sharing options...
barristann Posted March 5, 2023 Author Share Posted March 5, 2023 This is everything I need. It works! Thank you Steven P. 1 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.