Polyline in Lisp... and then fillet it...

Discussion in 'AutoCAD' started by Court Myers, Jul 6, 2004.

  1. Court Myers

    Court Myers Guest

    How do i draw a polyline with unlimited points and when the user types in
    "c" on the command line the pline closes and is filleted...
    heres how i see it going but i just dont know the code to do it


    (while "command line not equal to "c" (pline "unlimited points")
    when "command line is equal to 'c'" (close plolyline)
    ( ".Fillet" "p" "")


    Court Myers
     
    Court Myers, Jul 6, 2004
    #1
  2. Court Myers

    David Bethel Guest

    How about:

    (command "_.PLINE")
    (while (> (getvar "CMDACTIVE") 0)
    (command pause))
    (command "_.Fillet" "P" "_Last")

    -David
     
    David Bethel, Jul 6, 2004
    #2
  3. Court Myers

    Court Myers Guest

    works like a charm

    Thanks
    Court


     
    Court Myers, Jul 6, 2004
    #3
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.