Author Topic: ACADDOC is not loading anymore  (Read 2266 times)

0 Members and 1 Guest are viewing this topic.

Coder

  • Swamp Rat
  • Posts: 827
ACADDOC is not loading anymore
« on: August 26, 2014, 04:16:22 AM »
Hello  guys .

My acaddoc.lsp is not loading anymore automatically  :-o what is the problem with that ?

many thanks

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: ACADDOC is not loading anymore
« Reply #1 on: August 26, 2014, 06:33:24 AM »
What have you done to today's setup so that it is different to yesterday ??
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.

Coder

  • Swamp Rat
  • Posts: 827
Re: ACADDOC is not loading anymore
« Reply #2 on: August 26, 2014, 06:45:11 AM »
Hi Kerry ,

I just deleted old menus from the support folder , does this hurt the acaddoc.lsp file ?

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: ACADDOC is not loading anymore
« Reply #3 on: August 26, 2014, 07:39:24 AM »
What does this return
(findfile "acaddoc.lsp")

if nil, AutoCAD can'f find the file on the search path.

If a qualified path is returned, the file should be loading because  ACADDOC.LSP is automatically loaded if found.
« Last Edit: August 26, 2014, 07:44:28 AM by Kerry »
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.

Coder

  • Swamp Rat
  • Posts: 827
Re: ACADDOC is not loading anymore
« Reply #4 on: August 26, 2014, 08:09:27 AM »
It returns the path of the file in support folder .

Maybe there is a system variable to control the load of the acaddoc file ? just wondering  :?

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: ACADDOC is not loading anymore
« Reply #5 on: August 26, 2014, 08:23:53 AM »
It returns the path of the file in support folder .

Maybe there is a system variable to control the load of the acaddoc file ? just wondering  :?

No, No system variable.

This could apply
http://adndevblog.typepad.com/autocad/2013/07/all-you-need-to-know-about-autocad-secureload-au.html

but I can't see how IF all you have done is remove menu files. .. Are you sure that IS all you did ?
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.

Coder

  • Swamp Rat
  • Posts: 827
Re: ACADDOC is not loading anymore
« Reply #6 on: August 26, 2014, 09:21:12 AM »
Thank you so much Kerry .

The problem is solved with the function (vl-load-com) at the top of the file ,

I have a reactor at the top of the file and due to the load function is not loaded before the reactor function , it throw an error which prevent all lisp routines to be loaded that are in the acaddoc .

Many thanks for your help  :-)

tombu

  • Bull Frog
  • Posts: 289
  • ByLayer=>Not0
Re: ACADDOC is not loading anymore
« Reply #7 on: August 26, 2014, 09:36:20 AM »
Make (princ "\n\"Acaddoc.lsp\" loading.") the first line and (princ "\n\"Acaddoc.lsp\" loaded.")(princ) the last one.  You'll know when it starts to load and if it was able to finish.
Tom Beauford P.S.M.
Leon County FL Public Works - Windows 7 64 bit AutoCAD Civil 3D

Coder

  • Swamp Rat
  • Posts: 827
Re: ACADDOC is not loading anymore
« Reply #8 on: August 26, 2014, 09:37:24 AM »
Make (princ "\n\"Acaddoc.lsp\" loading.") the first line and (princ "\n\"Acaddoc.lsp\" loaded.")(princ) the last one.  You'll know when it starts to load and if it was able to finish.

That is a very good idea . thank you .  8-)