masterfal Posted January 19, 2016 Posted January 19, 2016 Hi All, I have a lisp which lets me change the linetype of a selected line which I've had for quite a number of years. Can anyone tell me if i'm able to specify a particluar linetype scale for it? I don't want to globally change LTS, only for this particular line. If I wanted the linetype scale for this line to be 0.03 for example, how would I set that? (DEFUN C:DOT (/ ssTMP) (setq ssTMP (ssget)) (command "change" "P" "" "P" "LT" "DOT" "")) Quote
Tharwat Posted January 19, 2016 Posted January 19, 2016 This? (defun c:dot (/ ss) (if (setq ss (ssget "_:L")) (command "_.change" ss "" "P" "LT" "DOT" "LTSCALE" "0.3" "") ) (princ) ) Quote
masterfal Posted January 19, 2016 Author Posted January 19, 2016 nice! i went ahead and done it a different way while i was waiting.. i created a whole new linetype which looked like it had 0.3 LTS when it is actually 1 i like your way better. thanks alot Quote
Tharwat Posted January 19, 2016 Posted January 19, 2016 nice!i went ahead and done it a different way while i was waiting.. i created a whole new linetype which looked like it had 0.3 LTS when it is actually 1 i like your way better. thanks alot Happy to hear that , you are most welcome. 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.