AutoLisp routines not loaded when using Hyperlink to drawing from excel

AutoLisp routines not loaded when using Hyperlink to drawing from excel

mlieuw-bruil
Contributor Contributor
828 Views
2 Replies
Message 1 of 3

AutoLisp routines not loaded when using Hyperlink to drawing from excel

mlieuw-bruil
Contributor
Contributor

When opening a drawing via an hyperlink in Excel the AutoLisp customization is not loaded.

Our customization is via the Acad.Lsp & AcadDoc.lsp and from there other lisp files.

 

  • Loading these 2 lisp files again does not load the lisp functions! Reopening drawing loads lisp again... but this is not what we want.
  • SECURELOAD = 0; SDI = 0; And nothing strange in the settings variables.
  • Microsoft Office Professional Plus 2010
    Excel version: 14.0.7173.5000 (32-bit)
    AutoCAD Mechanical 2015 SP 2

 

0 Likes
Accepted solutions (1)
829 Views
2 Replies
Replies (2)
Message 2 of 3

john.uhden
Mentor
Mentor

Interesting.

 

I'm running MS Office 2007 and AutoCAD 2002 vanilla in Windows 7 Home Edition.

 

I get too many error warnings and get thrown out of AutoCAD when launching AutoCAD from an Excel hyperlink.

But if AutoCAD is already running, the error warnings are reduced and it will load the linked drawing including acaddoc.lsp.

 

Sorry that I don't have a solution for you.

John F. Uhden

0 Likes
Message 3 of 3

mlieuw-bruil
Contributor
Contributor
Accepted solution

The problem is solved, because I found out that the order of loading of acad.lsp and acaddoc.lsp are different when opening a drawing via a hyperlink in Excel. A certain variable was not yet set and this caused the stopping of the loading process.

 

0 Likes