polyline3d.Appendvertex

Discussion in 'AutoCAD' started by Nermeen Bakr, May 18, 2004.

  1. Nermeen Bakr

    Nermeen Bakr Guest

    Hi:
    I am new in arx and using vb.net to make an arx application.I always when i
    try to append a polyline3dvertex to a ployline i was get an error.I don't
    know what is wrong here is the code i am writing.
    Try

    For i = 0 To dtRovPos.Rows.Count - 1

    If Not IsDBNull(dtRovPos.Rows(i)("EastCalc")) Then

    pnt3D.X = CDbl(dtRovPos.Rows(i)("EastCalc"))

    Else

    pnt3D.X = 0.0

    End If

    If Not IsDBNull(dtRovPos.Rows(i)("NorthCalc")) Then

    pnt3D.Y = CDbl(dtRovPos.Rows(i)("NorthCalc"))

    Else

    pnt3D.X = 0.0

    End If

    pnt3D.Z = CDbl(0.0)

    polyLineVertx = New PolylineVertex3d(pnt3D)

    'polyLineVertx.Position =

    acdb3dPolyline = New AutoCAD.DatabaseServices.Polyline3d

    Dim aaaaa As Object = DBNull.Value

    acdb3dPolyline.AppendVertex(polyLineVertx)

    'acdb3dPolyline.me()

    Next

    myConn.Close()


    --
    Nermeen Bakr
    Project Manager
    Modern Computing Services
    web site : www.mcsoil.com
    Tel: : + 202 4036520
    Fax : + 202 4040503
     
    Nermeen Bakr, May 18, 2004
    #1
  2. Jason Piercey, May 18, 2004
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
Loading...