Draw a circle

I tried to draw circle. It draw circle but it has angle. Sounds like it draw from top view.  How do I fix? 

Private Sub Command1_Click()
Dim mycell As CellElement
Dim cellelements(0 To 6) As Element
Dim originpoint As Point3d
Dim rotmatrix As Matrix3d

 

originpoint.x = 2: originpoint.y = 2 ': originpoint.Z = 0

Set cellelements(0) = CreateEllipseElement2(Nothing, originpoint, 1.25, 1.25, rotmatrix)

Set mycell = CreateCellElement1("MLSE", cellelements, originpoint)

ActiveModelReference.AddElement mycell
mycell.Redraw


End Sub

Parents Reply Children
No Data