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 }