I created a simple code for AutoCAD 2013, that is having some issues in 2015. It will run correctly, but if I press the space bar after running the command to invoke it again, I get the response "Unknown command "Dimaligned2". I can fix this issue by using the command-s function, which doesn't make sense to me because I thought command-s couldn't be used with the "pause" command token. My code is as follows: