Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Lisp Files Not Working in AutoCAD 2006

3 REPLIES 3
Reply
Message 1 of 4
wendyllc
271 Views, 3 Replies

Lisp Files Not Working in AutoCAD 2006

I have 2 LSP files which are working fine prior to AutoCAD 2006 version. However, when i tried using it in AutoCAD 2006, it wasn't working. i get error message :[ ; error: no function definition: VARSAV].
I tried removing the variables but i get another error message: [bad function]
please assist. thanks. the files are as attached.
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: wendyllc

Hi wendyllc,I guess you forgot (or not yet) to load "VARSAV" and "VARSET"
file.

wrote in message news:5015820@discussion.autodesk.com...
I have 2 LSP files which are working fine prior to AutoCAD 2006 version.
However, when i tried using it in AutoCAD 2006, it wasn't working. i get
error message :[ ; error: no function definition: VARSAV].
I tried removing the variables but i get another error message: [bad
function]
please assist. thanks. the files are as attached.
Message 3 of 4
rogerio_brazil
in reply to: wendyllc

Hello,

Remove the variables setage.

; (VarSav)(VarSet);;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;here


and here:

;;LCA - WARNING: The OSMODE sysvar has changed.
(setvar "osmode" 0)
;;(VarReS);;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;here
(princ)
)
(defun c:dor1p () (dor1p))
(defun c:d1p () (dor1p))
(princ)


But you need CHKBLK function. Sorry.

[]s,

Rogerio
Message 4 of 4
wendyllc
in reply to: wendyllc

Thanks...
Will work on the suggestions.

wen

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost