Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have this LISP which works well at converting all constant attributes to normal:
(defun c:attsnotconstant (/ b n)
(vl-load-com)
(while (setq b (tblnext "block" (not b)))
(setq n (cdr (assoc 2 b)))
(vlax-for o (vla-item (vla-get-blocks
(vla-get-activedocument
(vlax-get-acad-object)
)
)
n
)
(if (= (vla-get-objectname o) "AcDbAttributeDefinition")
(vla-put-constant o :vlax-false)
)
)
(command "attsync" "name" n)
)
)
(c:attsnotconstant)
I want to edit this so that it only changes the attribute to normal if the attribute tag is a specific value. Any ideas on how to do this? I'm definitely not an expert in LISP so any help would be appreciated.
Solved! Go to Solution.