Correct AutoCAD COM procedure