Here I am, if I use this function to delete attribs in AcDbBlockTableRecord:
; VlaBlk > AcDbBlockTableRecord > #<VLA-OBJECT IOdaBlock 0000000039FF2400>
;
(defun test2 (VlaBlk)
(vlax-for ObjFor VlaBlk
(if (= "AcDbAttributeDefinition" (vla-get-objectname ObjFor))
(progn
(princ " Attrib > ") (prin1 (vla-get-TextString ObjFor)) (princ "\n")
(prin1 (vl-catch-all-apply 'vla-delete (list ObjFor)))
)
(progn (princ " Other > ") (prin1 (vla-get-objectname ObjFor)) (princ "\n"))
)
)
(princ)
)
After audit I get this error ONLY in BricsCAD (tested in V20) the error IS recovered!
Name: AcDbBlockTableRecord(3E9D7)
Value: hasAttributeDefinitions flag is true, but record has no AttributeDefinitions
Validation: Disparity
Replaced by: Set to False