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

Error when try to run SAVEASR14

4 REPLIES 4
Reply
Message 1 of 5
Anonymous
280 Views, 4 Replies

Error when try to run SAVEASR14

I downloaded this LISP program that enables you to convert 2000 files
into R14 format. However, whenever I attempt to execute the command
SAVEASR14, I get the following error message:

;error- an error has occurred inside the *error* functionAutoCAD
variable setting rejected: "SNAPBASE" nil

Does anyone have any idea what this means?

Ben Liu
4 REPLIES 4
Message 2 of 5
Anonymous
in reply to: Anonymous

type this at the command line to see if it works...
(setq fdia (getvar "filedia"))
(setvar "filedia" 0)
saveas
r14


after you are done type this...
(setvar "filedia" fdia)

tell us if that works.. is so the lisp is bad....

--
A2Ki, SurvCad CES, Win98 se
Remove NO SPAM from my email address to email

Jonathan J. Baker
R&R Engineers-Surveyors, Inc.
Denver, Colorado
_________________________
"Ben Liu" wrote in message
news:3BBDDCC7.1470D563@cadversion.com...
> I downloaded this LISP program that enables you to convert 2000 files
> into R14 format. However, whenever I attempt to execute the command
> SAVEASR14, I get the following error message:
>
> ;error- an error has occurred inside the *error* functionAutoCAD
> variable setting rejected: "SNAPBASE" nil
>
> Does anyone have any idea what this means?
>
> Ben Liu
>
Message 3 of 5
Anonymous
in reply to: Anonymous

Somewhere in the code, there is a (setvar "SnapBase" ...) that is either
using a variable that is nil, or some value other than a 2 atom list of
'REALs or 'INTs.

--
R. Robert Bell, MCSE
http://www.acadx.com


"Ben Liu" wrote in message
news:3BBDDCC7.1470D563@cadversion.com...
| I downloaded this LISP program that enables you to convert 2000 files
| into R14 format. However, whenever I attempt to execute the command
| SAVEASR14, I get the following error message:
|
| ;error- an error has occurred inside the *error* functionAutoCAD
| variable setting rejected: "SNAPBASE" nil
|
| Does anyone have any idea what this means?
|
| Ben Liu
|
Message 4 of 5
Anonymous
in reply to: Anonymous

I ran a search on the text in the SAVEASR14.LSP file, and could not find any
occurences of "snapbase". Are there any other ways of locating the source of
the problem?

Ben Liu

"R. Robert Bell" wrote:

> Somewhere in the code, there is a (setvar "SnapBase" ...) that is either
> using a variable that is nil, or some value other than a 2 atom list of
> 'REALs or 'INTs.
>
> --
> R. Robert Bell, MCSE
> http://www.acadx.com
>
> "Ben Liu" wrote in message
> news:3BBDDCC7.1470D563@cadversion.com...
> | I downloaded this LISP program that enables you to convert 2000 files
> | into R14 format. However, whenever I attempt to execute the command
> | SAVEASR14, I get the following error message:
> |
> | ;error- an error has occurred inside the *error* functionAutoCAD
> | variable setting rejected: "SNAPBASE" nil
> |
> | Does anyone have any idea what this means?
> |
> | Ben Liu
> |
Message 5 of 5
Anonymous
in reply to: Anonymous

The error is in the error handler...

| ;error- an error has occurred inside the *error* function

--
R. Robert Bell, MCSE
http://www.acadx.com


"Ben Liu" wrote in message
news:3BC24CC0.6871FEAD@cadversion.com...
| I ran a search on the text in the SAVEASR14.LSP file, and could not find
any
| occurences of "snapbase". Are there any other ways of locating the source
of
| the problem?
|
| Ben Liu
|
| "R. Robert Bell" wrote:
|
| > Somewhere in the code, there is a (setvar "SnapBase" ...) that is either
| > using a variable that is nil, or some value other than a 2 atom list of
| > 'REALs or 'INTs.
| >
| > --
| > R. Robert Bell, MCSE
| > http://www.acadx.com
| >
| > "Ben Liu" wrote in message
| > news:3BBDDCC7.1470D563@cadversion.com...
| > | I downloaded this LISP program that enables you to convert 2000 files
| > | into R14 format. However, whenever I attempt to execute the command
| > | SAVEASR14, I get the following error message:
| > |
| > | ;error- an error has occurred inside the *error* functionAutoCAD
| > | variable setting rejected: "SNAPBASE" nil
| > |
| > | Does anyone have any idea what this means?
| > |
| > | Ben Liu
| > |
|

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

Post to forums  

Autodesk Design & Make Report

”Boost