fillet command in ACAD2004

Discussion in 'AutoCAD' started by Ken, Apr 22, 2004.

  1. Ken

    Ken Guest

    Dear all,
    Anyone know what happen of the following lisp command at AutoCAD 2004? It
    doesn't work right now!

    (defun c:f0()(command "FILLETRAD""0")
    (command "_fillet")(princ))

    OUTPUT:
    Command: F0
    Unknown command "FILLET". Press F1 for help.

    regards,

    Ken
     
    Ken, Apr 22, 2004
    #1
  2. Ken

    TCEBob Guest

    You shouldn't quote a number.

    Try this (from my private stock):

    (defun C:F0( / fra) ; 0 fillet ;rev date: 6/23/03
    (setq fra (getvar "filletrad"))
    (command "fillet" "r" 0.0)
    (command "fillet")
    (setvar "filletrad" fra)
    (princ))
     
    TCEBob, Apr 22, 2004
    #2
  3. Ken

    bob.at Guest

    Hi Ken

    Works fine at my computer

    does fillet or _fillet work if you typ it?
    Maybe you shoult use "_.fillet" (with a dot) in your lisp command.

    bob.at
     
    bob.at, Apr 22, 2004
    #3
  4. Ken

    Ken Guest

    thx all of u!

    I fixed it myself....I remove some of LSP.
     
    Ken, Apr 22, 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.