+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Full Member
    Using
    not specified
    Join Date
    Jul 2006
    Location
    Hyderabad
    Posts
    84

    Default errors while running lisp

    Registered forum members do not see this ad.

    hi everybody
    i had developed one lisp program. that's working fine in some drawings and in some drawings, its showing error. the errors are mention below:
    1) bad argument type consp nil.An error has occured inside the * error * function autocad variable setting rejected cmdecho nil.

    2) bad argument type for compare : "6" 0

    can anyone guess the fault in the program by seeing errors. if so , plz suggest me to proceed.

    regards
    m.arunachalam

  2. #2
    Senior Member kpblc's Avatar
    Using
    AutoCAD 2005
    Join Date
    May 2006
    Location
    Russia, St-Petersburg
    Posts
    317

    Default

    Registered forum members do not see this ad.

    Show the code please.
    ===
    Added:
    Code:
    (setq _cmdecho_ (getvar "cmdecho"))
    (setvar "cmdecho" 0)
    ;; Your code
    ;; at the string you setting sysvar "cmdecho" try something like this:
    (if _cmdecho_ (setvar "cmdecho" _cmdecho_))
    All I say is only my opinion.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts