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         }

 

上一篇:Deferred Shading


下一篇:Envoy实现.NET架构的网关(二)基于控制平面的动态配置