Drawing a 2D Line

Rhinocommon has a method for drawing text in 2D (that is, Draw2dText()). Is there an equivalent method for drawing 2D lines on the viewport?

Dim pt0 As New Point3d(0, 0, 0) 'x, y, z
Dim pt1 As New Point3d(10, 10, 0) 'x, y, z
doc.Objects.AddLine(pt0, pt1)
doc.Views.Redraw()

That should draw a 2D line. Just keep z on 0.

True it doenst draw it on a different ViewPlane