TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: CADaver on July 17, 2007, 03:30:57 PM

Title: VLAX-OBJECT function not found
Post 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??
Title: Re: VLAX-OBJECT function not found
Post by: MP on July 17, 2007, 03:33:29 PM
(vl-load-com)
Title: Re: VLAX-OBJECT function not found
Post by: MP on July 17, 2007, 03:36:30 PM
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.
Title: Re: VLAX-OBJECT function not found
Post by: CADaver on July 17, 2007, 04:07:33 PM
(vl-load-com)
nah its there too
Title: Re: VLAX-OBJECT function not found
Post by: MP on July 17, 2007, 04:10:03 PM
What happens on his machine when you execute that statement?

Also, check his acadprefix contents, how does it compare to other functioning machines?

Code: [Select]
(progn
    (princ (getvar "acadprefix"))
    (princ)
)

Any other telling messages on startup?
Title: Re: VLAX-OBJECT function not found
Post by: CADaver on July 17, 2007, 04:11:36 PM
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.
Title: Re: VLAX-OBJECT function not found
Post by: CADaver on July 17, 2007, 04:16:46 PM
What happens on his machine when you execute that statement?

Also, check his acadprefix contents, how does it compare to other functioning machines?

Code: [Select]
(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..
Title: Re: VLAX-OBJECT function not found
Post by: CADaver on July 17, 2007, 06:03:44 PM
No joy there either "Acadprefix" is the same and (vl-load-com) shows no errors. It may be time for "web watcher".
Title: Re: VLAX-OBJECT function not found
Post by: LE on July 17, 2007, 06:11:18 PM
Randy;

So there is nothing on the command prompt?

Command: (setq str "test")
"test"

Command: !str
"test"

Command !.
error: misplaced dot on input
Title: Re: VLAX-OBJECT function not found
Post by: CADaver on July 17, 2007, 07:32:16 PM
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...
Title: Re: VLAX-OBJECT function not found
Post by: Kerry on July 17, 2007, 07:56:11 PM
Does the editor work ? ie   
VLIDE at the command line.

Which ACAD version ?

Is the VL.ARX file loaded ?
piccy ..
Title: Re: VLAX-OBJECT function not found
Post by: CADaver on July 17, 2007, 09:11:16 PM
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??
Title: Re: VLAX-OBJECT function not found
Post by: MP on July 17, 2007, 09:43:58 PM
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)?
Title: Re: VLAX-OBJECT function not found
Post by: Didge on July 18, 2007, 04:29:23 AM
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.
Title: Re: VLAX-OBJECT function not found
Post by: CADaver on July 18, 2007, 07:57:13 AM
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.
Title: Re: VLAX-OBJECT function not found
Post by: CADaver on July 18, 2007, 08:02:03 AM
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.