Hello, This used to work fine in 2002 but not in 2005. (defun c:XP (/ SM) (setq SM(getvar "SNAPMODE")) (setvar "SNAPMODE" 0) (c:xplode) (setvar "SNAPMODE" SNM) ) However, I can type XPLODE from the command line and after doing that typing the shortcut of XP works fine. Any Ideas? Thanks