Does anyone have...
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Does anyone have...

 
Post new topic   Reply to topic    CADForums.net Forum Index -> Drafting
Author Message
Eli Kay
Guest





Posted: Tue Dec 14, 2004 5:18 am    Post subject: Does anyone have... Reply with quote

Does anyone have the list of error codes generated by AutoLISP or where to
find them in the Help?

Thnx for your time.

Back to top
Adesu
Guest





Posted: Tue Dec 14, 2004 7:37 am    Post subject: Re: Does anyone have... Reply with quote

Hi Eli,you must post to "autodesk.autocad.customization",over there more
people expert in autolisp program

Eli Kay <ekay@arbucklecostic.com> wrote in message
news:41be3174_3@newsprd01...
Quote:
Does anyone have the list of error codes generated by AutoLISP or where to
find them in the Help?

Thnx for your time.



Back to top
R.K. McSwain
Guest





Posted: Tue Dec 14, 2004 4:43 pm    Post subject: Re: Does anyone have... Reply with quote

On 12/13/2004 6:18 PM Eli Kay wrote:

Quote:
Does anyone have the list of error codes generated by AutoLISP or where to
find them in the Help?

Open "acad_dev.chm", go to the Index tab, type in "Error", look for
"Error Codes -> Autolisp".

Back to top
Daniel J. Altamura, R.A.
Guest





Posted: Tue Dec 14, 2004 5:18 pm    Post subject: Re: Does anyone have... Reply with quote

I just looked in 2004 and 2005. This is all that is displayed, but nothing
is listed.

"This appendix lists the AutoLISP error codes."

2002 help does show the listing though.

--
Daniel J. Altamura, R.A.
Altamura Architectural Consulting
and SoftWorx, Autodesk Authorized Developer
--------------------------------------------------------------------


"R.K. McSwain" <not@autodesk.com> wrote in message
news:41bed160$1_1@newsprd01...
Quote:
On 12/13/2004 6:18 PM Eli Kay wrote:

Does anyone have the list of error codes generated by AutoLISP or where
to find them in the Help?

Open "acad_dev.chm", go to the Index tab, type in "Error", look for "Error
Codes -> Autolisp".
Back to top
Martin Shoemaker
Guest





Posted: Tue Dec 14, 2004 8:18 pm    Post subject: Re: Does anyone have... Reply with quote

Same here (2004) if I try to go through Help in Autocad, but works fine
if I open the file directly in Windows as R. K. McSwain suggested.

Martin

Daniel J. Altamura, R.A. wrote:
Quote:
I just looked in 2004 and 2005. This is all that is displayed, but nothing
is listed.

"This appendix lists the AutoLISP error codes."

2002 help does show the listing though.
Back to top
ecable
Guest





Posted: Thu Dec 16, 2004 11:44 pm    Post subject: Re: Does anyone have... Reply with quote

Open the VLIDE (Visual Lisp editor) and use the help there. That is a different help file that deals with lisp.
Back to top
Eli Kay
Guest





Posted: Fri Dec 17, 2004 2:07 am    Post subject: Re: Does anyone have... Reply with quote

I appreciate everyone's input, but that still din't do it.

Here's clarification:
When autolistp routine does not understand a function, as in passing an
integer instead of a list, it issues an error message.
Here's an example of one of these errors:
lselsetp 0

If I'm correct, there's probably 20 or so messages like this that tell the
user what went wrong. The list of these errors was included back in printed
R12 AutoLISP manual and it is this list I'm looking for.

Thanx again.


"Eli Kay" <ekay@arbucklecostic.com> wrote in message
news:41be3174_3@newsprd01...
Quote:
Does anyone have the list of error codes generated by AutoLISP or where to
find them in the Help?

Thnx for your time.



Back to top
R.K. McSwain
Guest





Posted: Fri Dec 17, 2004 6:43 pm    Post subject: Re: Does anyone have... Reply with quote

Eli Kay wrote:

Quote:
I appreciate everyone's input, but that still din't do it.


As mentioned a few times, it's in "acad_dev.chm"

I'm not sure how this will render in the newsreader, but I'll paste it
in for you.

===========================================================================

AutoLISP Error Codes This appendix lists the AutoLISP error codes.

The following table shows the values of error codes generated by
AutoLISP. The ERRNO system variable is set to one of these values when
an AutoLISP function call causes an error that AutoCAD detects. AutoLISP
applications can inspect the current value of ERRNO with (getvar "errno").

The ERRNO system variable is not always cleared to zero. Unless it is
inspected immediately after an AutoLISP function has reported an error,
the error that its value indicates may be misleading. This variable is
always cleared when starting or opening a drawing.

Note: The possible values of ERRNO, and their meanings, may change in
future releases of AutoCAD. Online program error codes
Value Meaning
0 No error
1 Invalid symbol table name
2 Invalid entity or selection set name
3 Exceeded maximum number of selection sets
4 Invalid selection set
5 Improper use of block definition
6 Improper use of xref
7 Object selection: pick failed
8 End of entity file
9 End of block definition file
10 Failed to find last entity
11 Illegal attempt to delete viewport object
12 Operation not allowed during PLINE
13 Invalid handle
14 Handles not enabled
15 Invalid arguments in coordinate transform request
16 Invalid space in coordinate transform request
17 Invalid use of deleted entity
18 Invalid table name
19 Invalid table function argument
20 Attempt to set a read-only variable
21 Zero value not allowed
22 Value out of range
23 Complex REGEN in progress
24 Attempt to change entity type
25 Bad layer name
26 Bad linetype name
27 Bad color name
28 Bad text style name
29 Bad shape name
30 Bad field for entity type
31 Attempt to modify deleted entity
32 Attempt to modify seqend subentity
33 Attempt to change handle
34 Attempt to modify viewport visibility
35 Entity on locked layer
36 Bad entity type
37 Bad polyline entity
38 Incomplete complex entity in block
39 Invalid block name field
40 Duplicate block flag fields
41 Duplicate block name fields
42 Bad normal vector
43 Missing block name
44 Missing block flags
45 Invalid anonymous block
46 Invalid block definition
47 Mandatory field missing
48 Unrecognized extended data (XDATA) type
49 Improper nesting of list in XDATA
50 Improper location of APPID field
51 Exceeded maximum XDATA size
52 Entity selection: null response
53 Duplicate APPID
54 Attempt to make or modify viewport entity
55 Attempt to make or modify an xref, xdef, or xdep
56 ssget filter: unexpected end of list
57 ssget filter: missing test operand
58 ssget filter: invalid opcode (-4) string
59 ssget filter: improper nesting or empty conditional clause
60 ssget filter: mismatched begin and end of conditional clause
61 ssget filter: wrong number of arguments in conditional clause (for
NOT or XOR)
62 ssget filter: exceeded maximum nesting limit
63 ssget filter: invalid group code
64 ssget filter: invalid string test
65 ssget filter: invalid vector test
66 ssget filter: invalid real test
67 ssget filter: invalid integer test
68 Digitizer is not a tablet
69 Tablet is not calibrated
70 Invalid tablet arguments
71 ADS error: Unable to allocate new result buffer
72 ADS error: Null pointer detected
73 Cannot open executable file
74 Application is already loaded
75 Maximum number of applications already loaded
76 Unable to execute application
77 Incompatible version number
78 Unable to unload nested application
79 Application refused to unload
80 Application is not currently loaded
81 Not enough memory to load application
82 ADS error: Invalid transformation matrix
83 ADS error: Invalid symbol name
84 ADS error: Invalid symbol value
85 AutoLISP/ADS operation prohibited while a dialog box was displayed
Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> Drafting All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB