Type (vl-load-com) in command line and try one more time. If it work write this expression to acaddoc.lsp file (in 2000i it seems into ...AutoCAD 2000i/Support folder).
Registered forum members do not see this ad.
I'm using AutoCAD2000i and Express Tools
These Express Tools commands all gave the error "No function definition:
VLAX-PRODUCT-KEY":
layfrz
layoff
how do I fix this problem?
Type (vl-load-com) in command line and try one more time. If it work write this expression to acaddoc.lsp file (in 2000i it seems into ...AutoCAD 2000i/Support folder).
Last edited by ASMI; 4th Apr 2007 at 12:19 pm.
(vl-load-com) doesn't work and i can't find the acaddoc.lsp file
Type in command line:
If (vlax-product-key) returns your product Registry Key your Express Tools functions should work. If after (vl-load-com) function (vlax-product-key) again returns "No function definition: VLAX-PRODUCT-KEY" you have problem with VisualLISP extention loadind.Code:Command: (vl-load-com) Command: (vlax-product-key) "Software\\Autodesk\\AutoCAD\\R17.0\\ACAD-5004:409"
Use Windows Search... If you can't find acaddoc.lsp anyway, open Notepad, write line (vl-load-com) and save it in Support folder as acaddoc.lsp.i can't find the acaddoc.lsp file
thank you but it still doesn't work, any other ideas?

Not sure about this, but try typing EXPRESSMENU in the command line.
EXPRESSMENU rebuild the express tool menu but doesn't fix the problem :-(
reply to my own post:
apparently, the only solution is to re-install autocad and express tool, see below:
Re: Express tools failure
Here is a document from our solution database. This sounds like a registry
problem.
Solution ID: TS75657
Title: "ERROR: NO FUNCTION DEFINITION: VLAX-PRODUCT-KEY" ATTEMPTING TO USE CERTAIN EXPRESS TOOLS
Products: AUTOCAD 2002; AUTOCAD 2000I
Problem Description: Attempting to executing certain Express Tool commands the following error is displayed at the command line and the
command fails to run:
"Error: No Function Definition: VLAX-PRODUCT-KEY"
Problem Resolution: To resolve this error, apply the latest Service Pack for your product version, or reinstall both the product and the Express Tools.
For more information about reinstalling your product, see related documents.
--
Jeff Hanson
Autodesk Product Support
Building Solutions Division




Registered forum members do not see this ad.
Bookmarks