public static SketchSegment[] CreateLinesRectangle(this SketchManager manager, double x1, double y1, double z1, double x2, double y2, double z2) { return(manager.CreateLinesByPoints( x1, y1, z1, // A x2, y1, z1, // B x2, y2, z2, // C x1, y2, z2, // D x1, y1, z1 // A )); }