teknomatika Posted November 29, 2018 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
ronjonp Posted November 29, 2018 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
teknomatika Posted November 30, 2018 Author Posted November 30, 2018 ronjonp It is! Very well! Thanks for the help and the availability. Quote
ronjonp Posted November 30, 2018 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
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.