Message 1 of 8
autoloader displays nil with a lisp routine

Not applicable
11-29-2015
01:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone, AutoCAD 2016, Windows 7, I've been using the autoloader mechanism to load a dll, works as expected
I've just added a lisp routine to be called on command invocation
this is PackageContents.xml:
<Components> <ComponentEntry AppName="pp3" ModuleName="./contents/windows/pp3.dll" LoadOnCommandInvocation="True"> <Commands> <Command Global="pp3" /> </Commands> </ComponentEntry> <ComponentEntry AppName="pp4" ModuleName="./contents/windows/pp4.lsp" LoadOnCommandInvocation="True"> <Commands> <Command Global="pp4" /> </Commands> </ComponentEntry> </Components>
It works except for an unwanted "nil" display when opening every dwg:
Regenerating model.
AutoCAD menu utilities loaded.*Cancel*
nil
Command:
Command:
Command:
if I remove the component entry relative to pp4.lsp from PackageContents.xml, there is no "nil" message:
Regenerating model.
AutoCAD menu utilities loaded.*Cancel*
Command:
Command:
Command:
I tried to bundle just the lisp command, same issue