For some reason I have to use SendCommand instead of the COMMAND itself into routine. Example: (setq thisdrawing (vla-get-activedocument(vlax-get-acad-object))) (vla-SendCommand thisdrawing (strcat "dim1" " " "restore" " " "20_dims")) The problem is that everything goes well to the last step and it hangs at the end: Command: Command: dim1 Dim: restore Enter a dimension style name, [?] or <select dimension>: 20_dims So at this point if I hit ENTER it will do it, but then the command starts again. It's some kind of loop. What I'm missing? Thanks John