UG二次开发 创建临时直线(C#)
作者:互联网
1 public void CreatDisplayTemLine(double[] startPoint, double[] endPoint) 2 { 3 UFSession theUfSession = UFSession.GetUFSession(); 4 UFObj.DispProps attrib = new UFObj.DispProps(); 5 attrib.layer = 1; 6 attrib.highlight_status = true; 7 attrib.line_width = 0; 8 attrib.color = 6; 9 attrib.blank_status = 0; 10 attrib.font = 1; 11 theUfSession.Disp.DisplayTemporaryLine(Tag.Null, UFDisp.ViewType.UseActivePlus, startPoint, endPoint, ref attrib); 12 }
标签:status,endPoint,UFObj,C#,UFSession,二次开发,UG,startPoint,attrib 来源: https://www.cnblogs.com/lpserver1102/p/15619134.html