error: no function definition: AUTOLOAD

Discussion in 'AutoCAD' started by loeran, Sep 29, 2004.

  1. loeran

    loeran Guest

    I am new at supporting AutoCAD. I have a file acad.lsp
    that loads and runs some lisp code. I am getting no function definition: AutoLoad error. I have read the documentation but still have found nothing could someone help.

    code in acad.lsp

    ;;Load Kato's start up code ..
    (load "Kato_SStart")

    ;;Load Kato's load file ..
    (load "Kato_SLoad")

    ;;Run the kato load code ..
    (Kato_SLoad)

    ;;--------------------------------------------------------------------------------

    (defun s::startup ()
    ;;scl, drawing_scale are global variables ..

    ;;Run Kato's start up code ..
    (Kato_SStart)

    ;;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ;;My Special set up's ..

    ;;Disable the snap mode ..
    (setvar "snapmode" 0)

    ;;Disable the blip mode ..
    (setvar "blipmode" 0)

    ;;Set the running object snap value to end point ..
    (setvar "osmode" 1)

    ;;End of Special set up's ..
    ;;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    (prompt "\n Nora, you're good to go! :) ***")

    (princ)
    ) ;_ end of defun

    (princ)
     
    loeran, Sep 29, 2004
    #1
  2. Try:

    Include the path of all Kato's files in:

    options
    files
    support file search path
    add
    browse

    Rogério
     
    Rogerio_Brazil, Sep 29, 2004
    #2
  3. loeran

    loeran Guest

    Thanks I got it to work.

    I created a ACADDoc.lsp file and moved some of my code to that file.

    I am new to this stuff. Now that I have an Acad.lsp and an AcadDoc.lsp file. When I open the Tools menu I get an error that says that the function was cancelled. Do you have any idea what this would be?
     
    loeran, Oct 4, 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.