CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 18427
Plex.Earth connects AutoCAD and Google Earth

CAD tip CAD tip # 12131:

   
Question CAD 
 %  platform  category 
Q - question

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

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

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    17180×  
Prices - CAD eShop:
applies to: AutoCAD · Civil 3D · AutoCAD Map 3D ·

See also:
Tip 13822:Fast layer visibility toggle ON/OFF.
Tip 13737:Formatting leading zeros in AutoCAD fields (and automatic field update).
Tip 13529:How to redefine the behavior of a standard AutoCAD command?
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?


Back   All CAD Tips



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:
Extend your AutoCAD LT productivity with our popular add-on
CADstudio LT Extension More info


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