further help required on fillet

Discussion in 'AutoCAD' started by spencer1971, Mar 10, 2005.

  1. spencer1971

    spencer1971 Guest

    Why does this crash at "p"

    (command "fillet" "r" "10" "p" "last")

    any ideas?
     
    spencer1971, Mar 10, 2005
    #1
  2. spencer1971

    Doug Broad Guest

    fillet requires points
     
    Doug Broad, Mar 10, 2005
    #2
  3. spencer1971

    avw_410 Guest

    you need to first set the radius and then fillet the lines...

    (defun FI (/ FR)
    (setq FR (getvar "filletrad"))
    (setvar "filletrad" 10)
    (command "fillet" "P" "L")
    (setvar "filletrad" FR)
    (princ)
    )
     
    avw_410, Mar 10, 2005
    #3
  4. spencer1971

    Doug Broad Guest

    Sorry.
    (command "fillet" "r" 10 "" "p" "last")


     
    Doug Broad, Mar 10, 2005
    #4
  5. I think that [setting the radius first] depends on which release you're
    using. In earlier ones, setting the radius ended the command (unless you
    had Multiple going). But in 2004 at least, after setting the radius, you're
    left in the command, with the prompt that includes the Polyline option.

    Doug's right that the value set for R shouldn't be in quotes, because then
    it's a text string rather than a numerical value. But I think his double
    double-quote after that will be needed to recall the fillet command in
    earlier versions, but not in later ones.
     
    Kent Cooper, AIA, Mar 10, 2005
    #5
  6. spencer1971

    spencer1971 Guest

    Thanks for your help, I managed to get it going,

    spence
     
    spencer1971, Mar 14, 2005
    #6
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.