0 Members and 1 Guest are viewing this topic.
(vla-item (vla-get-dictionaries (vla-get-activedocument (vlax-get-acad-object)) ) "ACAD_MLEADERSTYLE" )
(defun mleaderstyle-p (name / dic) (and (not (vl-catch-all-error-p (setq dic (vl-catch-all-apply 'vla-item (list (vla-get-dictionaries (vla-get-activedocument (vlax-get-acad-object))) "ACAD_MLEADERSTYLE" ) ) ) ) ) (not (vl-catch-all-error-p (vl-catch-all-apply 'vla-item (list dic name)))) ))
(defun mleaderstyle-p (name) (vl-position name (mapcar 'cdr (vl-remove-if-not '(lambda (x) (= (car x) 3)) (dictsearch (namedobjdict) "acad_mleaderstyle") ) ) ))