TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: CADaver on July 17, 2007, 03:30:57 PM
-
Okay, one of my new guys broke something. Any function that calls a VLAX function gets an unknown command error when attempting to execute. All the paths are the same, profiles the same, hardware the same, same, same, same.
Short of complete re-install, where do I look first??
-
(vl-load-com)
-
Subtitle: Did the user implement his own acad.lsp, acaddoc.lsp, acad.mnl etc. and by chance does his version fail to execute a (vl-load-com) in the startup / initiation sequence?
EDit: Wow, fixed up pathetic grammar. Kinda.
-
(vl-load-com)
nah its there too
-
What happens on his machine when you execute that statement?
Also, check his acadprefix contents, how does it compare to other functioning machines?
(progn
(princ (getvar "acadprefix"))
(princ)
)
Any other telling messages on startup?
-
Subtitle: Did the user implement his own acad.lsp, acaddoc.lsp, acad.mnl etc. and by chance does his version fail to execute a (vl-load-com) in the startup / initiation sequence?
Nope all the same. I'm beginning to think he deleted something and tried to copy it off another machine, but he's not 'fessing up to anything. There are a couple of oddities about his directories. Basically he's gotten "the look" and the "the growl". I think we'll just re-install tonight. Thanks for the help.
-
What happens on his machine when you execute that statement?
Also, check his acadprefix contents, how does it compare to other functioning machines?
(progn
(princ (getvar "acadprefix"))
(princ)
)
Any other telling messages on startup?
hmmm... I'll check as soon as it quits raining, I looked earlier and nothing jumped out, but I'll check again..
-
No joy there either "Acadprefix" is the same and (vl-load-com) shows no errors. It may be time for "web watcher".
-
Randy;
So there is nothing on the command prompt?
Command: (setq str "test")
"test"
Command: !str
"test"
Command !.
error: misplaced dot on input
-
Everything works as it should EXCEPT anything from Visual Lisp. Anything with VLA or VLAX in the function returns an error. Regular lisp functions work just fine, as do most of the expresstools I've tried. Curiouser and curiouser...
-
Does the editor work ? ie
VLIDE at the command line.
Which ACAD version ?
Is the VL.ARX file loaded ?
piccy ..
-
R2002 in this case. Yes VL.ARX is loaded, nope VLIDE doesn't work, it seems to try. A window blinks then goes away, no error message though. Oddity upon oddity??
-
Hmmm ... what happens when you try to load up the vba editor (vbaide)? Does it load up? If so, will the visual lisp editor load up after that (vlide)?
-
This sounds very familiar CADaver
http://www.theswamp.org/index.php?topic=17389.0
Although I found a few other cases on the AutoDesk forums I couldn't find any solution, sadly a complete re-install of AutoCAD failed to fix the issue either. I'll be wathing this thread with interest.
-
Hmmm ... what happens when you try to load up the vba editor (vbaide)? Does it load up? If so, will the visual lisp editor load up after that (vlide)?
Yep VBAIDE worked and so do the functions, nope still no vla even after that.
-
This sounds very familiar CADaver
http://www.theswamp.org/index.php?topic=17389.0
Although I found a few other cases on the AutoDesk forums I couldn't find any solution, sadly a complete re-install of AutoCAD failed to fix the issue either. I'll be wathing this thread with interest.
That one is still different from this, none of your lisp worked. Here EVERYTHING works just fine except anything with VLA or VLAX functions. We're re-installing a whole new image this morning, I'll keep you posted.