Arc entity in Lwpolyline

Discussion in 'AutoCAD' started by nagesh nangi, Jan 27, 2004.

  1. nagesh nangi

    nagesh nangi Guest

    i want to find arc entity in lwpolyline without exploding it.
    Using VisualLisp i can't get vertices in lwpolyline through entnext.
    u can suggest for VBA also.
     
    nagesh nangi, Jan 27, 2004
    #1
  2. nagesh nangi

    BillZ Guest

    Arc in pline are "bulge factors".

    pl1 is ename of LWpline.

    (setq enlst (entget pl1))
    (foreach n enlst
    (if (= (car n) 10)
    (setq ptlist (cons (cdr n) ptlist)
    )
    (if (= (car n) 42)
    (setq bglist (cons (cdr n) bglist) ;list of points in polyline.
    )
    ) ;end if
    ) ;end if
    )

    ptlist is list of vertices and bglist is associated list of bulges.

    HTH

    Bill
     
    BillZ, Jan 27, 2004
    #2
  3. nagesh nangi

    nagesh nangi Guest

    Thanks Bill
    That is very helpful to me.
    regards
    Nagesh
     
    nagesh nangi, Jan 28, 2004
    #3
  4. nagesh nangi

    BillZ Guest

    You're welcome!

    Glad I could help. :)


    Bill
     
    BillZ, Jan 28, 2004
    #4
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.