←  Technical Questions

nanoCAD forum

»

Lsp functions loading but not working - SO...

Miljan's Photo Miljan 26 Jan 2017

Hello,

just tried to load and use some Aveva PDMS lsp functions in NanoCAD 5.0. They do load correctly but do not work. Error message:

error: no function defintion: VMON
C:\AVEVA\Plant\PDMS12.1.SP4\AutoDraftACAD\pdmssymb.lsp:1195,0

All Aveva lsp functions from this folder (C:\AVEVA\Plant\PDMS12.1.SP4\AutoDraftACAD) do load but not work - the same error message - no function definition.
I am not sure if I am allowed to attach these files here.

EDIT: Problem was (VMON) - turning virtual memory on by enabling AutoLISP virtual function pager. It is heritage from the past and can nowadays be removed from code. For some reason NanoCAD has problems with it but even modern AutoCAD versions work with it (VMON part of Autodesk package may be?). Removing VMON from code solves the problem with preserved functionality..
Quote