I'm trying to write a script to merge layers. We're changing from old standards to new and old layers are making their way into new drawings. I know I need to get all the layers into the drawing first. I know how to do that but when I run this script it hangs up after the first layer merge - I get this: Run script . . works OK: Deleting layer "arbeam". 1 layer deleted. Command: _LAYMRG Select object on layer to merge or [Type-it/Undo]: _laymrg *Invalid selection* Expects a point or Last/Type-it/Undo Select object on layer to merge or [Type-it/Undo]: So I hit cancel at this point. Here is my script. _laymrg T ARBEAM T S-BEAM Y _laymrg T ARWALL T A-WALL Y When I type all this in the command line, it works fine. Can anyone tell me what I'm doing wrong?