Balaji, thank you very much for your help. I tried the code in AutoCAD 2012 and it works as it should. In mechanical I am still having the problem. Also, thanks to DP for your comments they were all well taken.
Access a broad range of knowledge to help get the most out of your products and services.