I don't understand why you uploaded a drawing B without an anonymous block. It depends on how you converted your block into an anonymous one. I used the Rename Method and the following code is still working well.
(CDR (ASSOC 4 (TBLSEARCH "BLOCK" (CDR (ASSOC 2 (ENTGET (CAR (ENTSEL)))))))) |