Hi all,
the following code shows whether a text style is annotative (written by Lee):
(defun LM:isAnnotative (style / object annotx)
(and
(setq object (tblobjname "STYLE" style))
(setq annotx (cadr (assoc -3 (entget object '("AcadAnnotative")))))
(= 1 (cdr (assoc 1070 (reverse annotx))))
)
)
Is it possible to call tblobjname on a drawing which is opened as a ObjectDBX?