上一篇文章介绍了如何定义一个Jig
这里我们来使用它。
DrawJigEnt jig = new DrawJigEnt(ents);
Editor ed = Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument.Editor;
PromptResult pr = ed.Drag(jig);
和C++里面不同,这里是通过Editor类来调用的。


杭州格原