知道的帮忙解答一下子
<p> <br/> public void testd()<br/> {<br/> AcadApplication acadapp = (AcadApplication)Application.AcadApplication; <br/> try<br/> { <br/> Object ps,pe; <br/> ps = acadapp.ActiveDocument.Utility.<font color="#f70909">GetPoint(,"指定起点");</font><br/> pe = acadapp.ActiveDocument.Utility.GetPoint(ps,"指定终点:");<br/> AcadLine acadline =acadapp.ActiveDocument.ModelSpace.AddLine(ps,pe);<br/> }<br/> catch(System.Exception e)<br/> {<br/> Autodesk.AutoCAD.ApplicationServices.Application.ShowAlertDialog(e.Message);<br/> }<br/> }</p><p>用C# 怎么处理红色的东西?</p>
页:
[1]