; error: no function definition: GET:VARS

; error: no function definition: GET:VARS

meier.ca
Community Visitor Community Visitor
644 Views
2 Replies
Message 1 of 3

; error: no function definition: GET:VARS

meier.ca
Community Visitor
Community Visitor

I'm using AutoCAD 2020 and have several LISP routines that I use to detail PT. When I try to run a LISP routine I get the following message...; error: no function definition: GET:VARS.

 

The commands have been working until I imported one of my old profiles. When I realized the profile did not have any benefits, I deleted and reloaded my current profile that I've been using for the past year and that has been working. Now when I try to run my LISP routines, I get that message. Anyone have any idea as to what "GET:VARS" means? I have tried to SETVAR to "0" or "1" and it doesn't help. Thanks!

0 Likes
645 Views
2 Replies
Replies (2)
Message 2 of 3

Moshe-A
Mentor
Mentor

@meier.ca ,

 

this error means that some part of your lisp is missing. if you have access to other machine (AutoCAD installation) that this lisp works look at OPTIONS support files search path to see if your machine contains all paths needed and make sure your machine contain all the lisps folders require  to run this lisp.

 

Moshe

 

0 Likes
Message 3 of 3

dbroad
Mentor
Mentor

There has never been an OOTB function named GET:VARS. It might be a user defined function.  If you use VLIDE, there is an appropos feature that will help with learning spelling. Otherwise, AutoCAD doesn't know where you keep your LISP file library containing the function GET:VARS.

 

The correct OOTB function is getvar.

Architect, Registered NC, VA, SC, & GA.
0 Likes