Author Topic: VLAX-OBJECT function not found  (Read 5081 times)

0 Members and 1 Guest are viewing this topic.

CADaver

  • Guest
VLAX-OBJECT function not found
« 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??

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: VLAX-OBJECT function not found
« Reply #1 on: July 17, 2007, 03:33:29 PM »
(vl-load-com)
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: VLAX-OBJECT function not found
« Reply #2 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.
« Last Edit: July 17, 2007, 03:38:49 PM by MP »
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

CADaver

  • Guest
Re: VLAX-OBJECT function not found
« Reply #3 on: July 17, 2007, 04:07:33 PM »
(vl-load-com)
nah its there too

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: VLAX-OBJECT function not found
« Reply #4 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?
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

CADaver

  • Guest
Re: VLAX-OBJECT function not found
« Reply #5 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.

CADaver

  • Guest
Re: VLAX-OBJECT function not found
« Reply #6 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..

CADaver

  • Guest
Re: VLAX-OBJECT function not found
« Reply #7 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".

LE

  • Guest
Re: VLAX-OBJECT function not found
« Reply #8 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

CADaver

  • Guest
Re: VLAX-OBJECT function not found
« Reply #9 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...

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: VLAX-OBJECT function not found
« Reply #10 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 ..
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

CADaver

  • Guest
Re: VLAX-OBJECT function not found
« Reply #11 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??

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: VLAX-OBJECT function not found
« Reply #12 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)?
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

Didge

  • Bull Frog
  • Posts: 211
Re: VLAX-OBJECT function not found
« Reply #13 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.
Think Slow......

CADaver

  • Guest
Re: VLAX-OBJECT function not found
« Reply #14 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.
« Last Edit: July 18, 2007, 08:00:13 AM by CADaver »

CADaver

  • Guest
Re: VLAX-OBJECT function not found
« Reply #15 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.