Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Login
Register
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
What's the problem? Error: AutoCAD.Application: Not applicable
« previous
next »
Print
Pages: [
1
] |
Go Down
Author
Topic: What's the problem? Error: AutoCAD.Application: Not applicable (Read 1253 times)
0 Members and 1 Guest are viewing this topic.
asami486
Guest
What's the problem? Error: AutoCAD.Application: Not applicable
«
on:
January 17, 2017, 09:09:21 PM »
i've got a good lisp made by Alan J. Thompson (alanjt! Thank you always!) from here
BUT I got the following message when I command.
"Error: AutoCAD.Application: Not applicable"
What's the problem??
Logged
mailmaverick
Bull Frog
Posts: 493
Re: What's the problem? Error: AutoCAD.Application: Not applicable
«
Reply #1 on:
January 17, 2017, 11:27:26 PM »
It works fine with me in AutoCAD 2014.
What version are you using ?
Kindly attach your sample file so that it can be checked.
Logged
asami486
Guest
Re: What's the problem? Error: AutoCAD.Application: Not applicable
«
Reply #2 on:
January 18, 2017, 01:04:45 AM »
I'm using AutoCAD 2010.
Logged
kdub_nz
Mesozoic keyThumper
SuperMod
Water Moccasin
Posts: 2135
class keyThumper<T>:ILazy<T>
Re: What's the problem? Error: AutoCAD.Application: Not applicable
«
Reply #3 on:
January 18, 2017, 01:41:55 AM »
Try this
Replace the *error* function ( line 32 to 38 in your attached code) with this :
Code - Auto/Visual Lisp:
[Select]
;;; error handler
;;; (defun *error* (#Message)
;;; (and #Message
;;; (not (wcmatch (strcase #Message) "*BREAK*,*CANCEL*,*QUIT*"))
;;; (princ (strcat "\nError: " #Message))
;;; ) ;_ and
;;; )
(
defun
*error*
(
#Message
)
(
and
#Message
(
not
(
wcmatch
(
strcase
#Message
)
"*BREAK*,*CANCEL*,*QUIT*"
)
)
(
progn
(
princ
(
strcat
"
\n
Error: "
#Message
)
)
(
vl-bt
)
)
)
)
Please post any resulting error message here .
«
Last Edit: January 18, 2017, 01:46:06 AM by kdub
»
Logged
Called Kerry in my other life
Retired; but they dragged me back in !
I live at UTC + 13.00
---
some people complain about loading the dishwasher.
Sometimes the question is more important than the answer.
asami486
Guest
Re: What's the problem? Error: AutoCAD.Application: Not applicable
«
Reply #4 on:
January 18, 2017, 02:46:06 AM »
It works fine with your help.
I really appreciate it. mr.kdub!
Logged
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
What's the problem? Error: AutoCAD.Application: Not applicable