teknomatika Posted November 29, 2018 Share Posted November 29, 2018 Hello, Someone can help with the following: In a job I have different multiline styles. Using a routine will it be possible to toggle current style just picking on one of these multilines? Thanks Aalmeidah Quote Link to comment Share on other sites More sharing options...
ronjonp Posted November 29, 2018 Share Posted November 29, 2018 Sure: (defun c:foo (/ e) (if (and (setq e (car (entsel "\nPick an mline: "))) (= "MLINE" (cdr (assoc 0 (setq e (entget e))))) ) (setvar 'cmlstyle (cdr (assoc 2 e))) ) (princ) ) Quote Link to comment Share on other sites More sharing options...
teknomatika Posted November 30, 2018 Author Share Posted November 30, 2018 ronjonp It is! Very well! Thanks for the help and the availability. Quote Link to comment Share on other sites More sharing options...
ronjonp Posted November 30, 2018 Share Posted November 30, 2018 5 hours ago, teknomatika said: ronjonp It is! Very well! Thanks for the help and the availability. Glad to help 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.