CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 2787 

CAD tip CAD tip # 12131:

Question CAD 
 %  platform  category 
Q - question

Error: no function definition: VLAX-ENAME->VLA-OBJECT

A - answer AutoCAD has suddenly started to report an error on proven LISP programs: "no function definition: VLAX-ENAME->VLA-OBJECT".

This may have several causes - from the most frequent:

  1. A missing call to the function loading the "VLAX" support for accessing the ActiveX programming interface - i.e. (vl-load-com) - try to type it on the AutoCAD command line and retry your LISP program.
  2. You are trying to run your LISP program in AutoCAD for Mac - but this version doesn't support the Windows-specific (ActiveX) VLAX functions.
  3. A damaged or missing or antivirus-blocked file adding the VL-functions, i.e. VL.ARX - should be in the folder C:\Program Files\Autodesk\AutoCAD 20XX\
  4. A missing reference to the class type library. Check these Registry settings using the Regedit application (replace "XX" with your AutoCAD version - e.g. "19" - "vlx19.tlb"):

    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{A4081F53-974E-479E-A26E-E6DE9A5B2489}]
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{A4081F53-974E-479E-A26E-E6DE9A5B2489}\1.0]
    @="Visual Lisp ActiveX module"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{A4081F53-974E-479E-A26E-E6DE9A5B2489}\1.0\0]
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{A4081F53-974E-479E-A26E-E6DE9A5B2489}\1.0\0\win32]
    @="C:\\Program Files\\Autodesk\\AutoCAD 20XX\\vlXX.tlb"
    
ACADCivilMap
100% *  CAD 
2.2.2019    2280×  
applies to: AutoCAD · Civil 3D · AutoCAD Map 3D ·

See also:
Tip 12210:How to erase a specific object type in all DWG layouts?
Tip 11996:How to rotate selected blocks by the angle of an existing block?
Tip 11914:Maze generator for AutoCAD.
Tip 11780:How to rename layouts by a specific attribute of the title block?
Tip 11604:How to set plot transparency for all layouts in a DWG?


Back   All CAD Tips All CAD tips&tricks



Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   



Featuring:
Track your time spent working on AutoCAD or Revit jobs - automatically with
CADstudio JobTime More info


Please use these tips at your own risk.
CAD Studio is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist