I don't see any lines for editing the attribute
(setq col_ida
(car
(nentsel "\n--- SELECT COL_ID ATTRIBUTE ---- ")))
(if (and col_ida ; perform check to ensure attribute is col_id
(setq col_idd (entget col_ida))
(= (cdr (assoc 0 col_idd)) "ATTRIB")
(= (cdr (assoc 2 col_idd)) "COL_ID")
) ; end check
(progn ; start renaming process
(setq col_id (getstring "\n ENTER NEW COL_ID VALUE: "))
(vla-put-TextString
(vlax-ename->vla-object col_ida)col_id)
); end progn
(princ "\n--- THIS IS NOT THE COL_ID ATTRIBUTE ---- ")
); end if
[/quote]
Here is a rough section of code I'm using for modifying the attribute of our Col ID block for easier renaming.