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)
Try: Include the path of all Kato's files in: options files support file search path add browse Rogério
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?