If a block has attribute definitions, AutoCAD inserts all attributes with its default values and does not ask for the attribute values. There is no ready-to-use function that asks for the attributes.
I have the following Lisp code and it used to work fine - i.e. it showed the Edit Attributes dialog when a block with attributes was being inserted. (defun c:myinsert ( / ) (setvar "ATTREQ" 1) (setvar ...