Hello, Is there some way to SET the last command? I have a program that has a button to insert a block using utility.sendcommand. Problem is that i want the user to be able to hit return to repeat last command (the command that brings up the dialog) Of course ACAD thnks the return is to repeat the Insert command which is not what i want. thanks for any suggestion jm