hey Amit,u can also createline with scripting and u can change type of it,
Set Fact2D = drawingview1.Factory2D
set line2D = Fact2D.createline(X coordinate of 1st pt,y cor of 1st point,x coord of 2nd pt,y coord of 2nd pt)
set line2D = Fact2D.createline(10,10,20,20)
line2D.Name =...