Ошибка no function definition vlax ename vla object

Reseller affiliate logo

Welcome ${RESELLERNAME} Customers

Please opt-in to receive reseller support

I agree that Autodesk may share my name and email address with ${RESELLERNAME} so that ${RESELLERNAME} may provide installation support and send me marketing communications.  I understand that the Reseller will be the party responsible for how this data will be used and managed.

Email Address

Email is required

Entered email is invalid.

Проблема

При попытке запустить функцию LISP в AutoCAD в командной строке отображается сообщение об ошибке:

Ошибка: нет определения функции: VLAX-ENAME->VLA-OBJECT.
 

Изображение, добавленное пользователем

Процедура ранее выполнялась без ошибок или работает нормально на другом компьютере.

Примечание. В AutoCAD Electrical используется множество процедур LISP для нормальной работы, поэтому эта ошибка может появляться при редактировании таких компонентов, как быстрое перемещение, удаление и т. д. Кроме того, контекстное меню Electrical (отслеживающее) может вызвать сбой со следующим сообщением:

Ошибка: нет определения функции: VLR-MOUSE-REACTOR

Причины

Отсутствующие или неполные записи реестра в папке
HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}

Решение

Выполните следующие действия.

  • Восстановите запись реестра Windows.
    1. Убедитесь, что файл vl16.tlb существует в папке C:Program FilesAutodesk<AutoCAD 20xx>vl16.tlb.
    2. Загрузите прикрепленный файл lspfix.zip и измените его расширение с .zip на .reg.
      Этот файл реестра настроен для AutoCAD 2020 в качестве установленной версии.
      Однако при запуске другой версии откройте файл в любом текстовом редакторе и настройте пути соответствующим образом. Например:
      Windows Registry Editor Version 5.00
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}]
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0]
      @="Visual Lisp ActiveX module"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0]
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0win32]
      @="vl16.tlb"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0win64]
      @="C:Program FilesAutodeskAutoCAD 2020vl16.tlb"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0FLAGS]
      @="2"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0HELPDIR]
      @="C:Program FilesAutodeskAutoCAD 2020"
    3. Сохраните файл, а затем дважды щелкните его, чтобы обновить ключи реестра Windows.
  • Полностью удалите AutoCAD и переустановите программу, используя полную загрузку для своей учетной записи на портале Autodesk Account. См. раздел Полное удаление AutoCAD или отраслевых программ

Внимание!
Неправильное редактирование реестра Windows может вывести операционную систему компьютера из строя. База знаний Microsoft предоставляет важную информацию о реестре. Используйте редактор реестра Microsoft с осторожностью, предварительно выполнив резервное копирование реестра в соответствии с инструкциями для вашей операционной системы, представленными в статье Microsoft Резервное копирование и восстановление реестра в Windows и связанной статье Резервное копирование системного реестра. Дополнительные сведения о реестре можно также найти в разделах справки редактора реестра Microsoft. 

Программы

Программы AutoCAD

Issue:

When attempting to run a LISP function in AutoCAD, an error message is displayed on the command line:

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

User-added image

Процедура ранее выполнялась без ошибок или работает нормально на другом компьютере.

Примечание. В AutoCAD Electrical используется множество процедур LISP для нормальной работы, поэтому эта ошибка может появляться при редактировании таких компонентов, как быстрое перемещение, удаление и т. д. Кроме того, контекстное меню Electrical (отслеживающее) может вызвать сбой со следующим сообщением:

Ошибка: нет определения функции: VLR-MOUSE-REACTOR

Причины

Отсутствующие или неполные записи реестра в папке
HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}

Решение

Выполните следующие действия.

  • Восстановите запись реестра Windows.
    1. Убедитесь, что файл vl16.tlb существует в папке C:Program FilesAutodesk<AutoCAD 20xx>vl16.tlb.
    2. Загрузите прикрепленный файл lspfix.zip и измените его расширение с .zip на .reg.
      Этот файл реестра настроен для AutoCAD 2020 в качестве установленной версии.
      Однако при запуске другой версии откройте файл в любом текстовом редакторе и настройте пути соответствующим образом. Например:
      Windows Registry Editor Version 5.00
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}]
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0]
      @="Visual Lisp ActiveX module"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0]
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0win32]
      @="vl16.tlb"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0win64]
      @="C:Program FilesAutodeskAutoCAD 2020vl16.tlb"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0FLAGS]
      @="2"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0HELPDIR]
      @="C:Program FilesAutodeskAutoCAD 2020"
    3. Сохраните файл, а затем дважды щелкните его, чтобы обновить ключи реестра Windows.
  • Полностью удалите AutoCAD и переустановите программу, используя полную загрузку для своей учетной записи на портале Autodesk Account. См. раздел Полное удаление AutoCAD или отраслевых программ

Внимание!
Неправильное редактирование реестра Windows может вывести операционную систему компьютера из строя. База знаний Microsoft предоставляет важную информацию о реестре. Используйте редактор реестра Microsoft с осторожностью, предварительно выполнив резервное копирование реестра в соответствии с инструкциями для вашей операционной системы, представленными в статье Microsoft Резервное копирование и восстановление реестра в Windows и связанной статье Резервное копирование системного реестра. Дополнительные сведения о реестре можно также найти в разделах справки редактора реестра Microsoft. 

Программы

Программы AutoCAD

Issue:

When attempting to run a LISP function in AutoCAD, an error message is displayed on the command line:

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

User-added image

The routine has run previously without errors, or runs fine on another computer.

Note: AutoCAD Electrical uses many LISP routines for normal operation, so this error may appear when doing things like editing (scooting, deleting, etc.) components. Also, the Electrical right-click (marking) menu may fail with this message:

Error: no function definition: VLR-MOUSE-REACTOR

Causes:

Missing or incomplete Registry entries under:
«HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}«. 

Solution:

Try the following:

  • Repair Windows Registry entry.
    1. Make sure that the vl16.tlb file exists under the path: C:Program FilesAutodesk<AutoCAD 20xx>vl16.tlb.
    2. Download the attached lspfix.zip file and change its file extension from .zip to .reg.
      This registry file is configured for AutoCAD 2020 as the installed version.
      However, if running a different version, open the file in any text editor and adjust the paths accordingly. For example:
      Windows Registry Editor Version 5.00
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}]
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0]
      @="Visual Lisp ActiveX module"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0]
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0win32]
      @="vl16.tlb"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0win64]
      @="C:Program FilesAutodeskAutoCAD 2020vl16.tlb"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0FLAGS]
      @="2"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0HELPDIR]
      @="C:Program FilesAutodeskAutoCAD 2020"
    3. Save the file and then double-click it to update the Windows Registry keys.
  • Clean uninstall AutoCAD and reinstall using full download for your Autodesk Account. See how to Clean uninstall of AutoCAD or verticals

Warning!
Improperly editing the Windows registry can make your computer operating system unusable. The Microsoft Knowledgebase provides critical information that you need to know about the registry. Use the Microsoft Registry Editor only at your own risk and only after backing up the registry as outlined for your operating system in the Microsoft article: How to back up and restore the registry in Windows and in the related solution: How to back up the system registry. You can also find more information about the registry in the Help topics in the Microsoft Registry Editor. 

Products:

AutoCAD Products;

Issue:

When attempting to run a LISP function in AutoCAD, an error message is displayed on the command line:

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

User-added image

The routine has run previously without errors, or runs fine on another computer.

Note: AutoCAD Electrical uses many LISP routines for normal operation, so this error may appear when doing things like editing (scooting, deleting, etc.) components. Also, the Electrical right-click (marking) menu may fail with this message:

Error: no function definition: VLR-MOUSE-REACTOR

Causes:

Missing or incomplete Registry entries under:
«HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}«. 

Solution:

Try the following:

  • Repair Windows Registry entry.
    1. Make sure that the vl16.tlb file exists under the path: C:Program FilesAutodesk<AutoCAD 20xx>vl16.tlb.
    2. Download the attached lspfix.zip file and change its file extension from .zip to .reg.
      This registry file is configured for AutoCAD 2020 as the installed version.
      However, if running a different version, open the file in any text editor and adjust the paths accordingly. For example:
      Windows Registry Editor Version 5.00
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}]
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0]
      @="Visual Lisp ActiveX module"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0]
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0win32]
      @="vl16.tlb"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0win64]
      @="C:Program FilesAutodeskAutoCAD 2020vl16.tlb"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0FLAGS]
      @="2"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0HELPDIR]
      @="C:Program FilesAutodeskAutoCAD 2020"
    3. Save the file and then double-click it to update the Windows Registry keys.
  • Clean uninstall AutoCAD and reinstall using full download for your Autodesk Account. See how to Clean uninstall of AutoCAD or verticals

Warning!
Improperly editing the Windows registry can make your computer operating system unusable. The Microsoft Knowledgebase provides critical information that you need to know about the registry. Use the Microsoft Registry Editor only at your own risk and only after backing up the registry as outlined for your operating system in the Microsoft article: How to back up and restore the registry in Windows and in the related solution: How to back up the system registry. You can also find more information about the registry in the Help topics in the Microsoft Registry Editor. 

Products:

AutoCAD Products;

Issue:

When attempting to run a LISP function in AutoCAD, an error message is displayed on the command line:

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

User-added image

The routine has run previously without errors, or runs fine on another computer.

Note: AutoCAD Electrical uses many LISP routines for normal operation, so this error may appear when doing things like editing (scooting, deleting, etc.) components. Also, the Electrical right-click (marking) menu may fail with this message:

Error: no function definition: VLR-MOUSE-REACTOR

Causes:

Missing or incomplete Registry entries under:
«HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}«. 

Solution:

Try the following:

  • Repair Windows Registry entry.
    1. Make sure that the vl16.tlb file exists under the path: C:Program FilesAutodesk<AutoCAD 20xx>vl16.tlb.
    2. Download the attached lspfix.zip file and change its file extension from .zip to .reg.
      This registry file is configured for AutoCAD 2020 as the installed version.
      However, if running a different version, open the file in any text editor and adjust the paths accordingly. For example:
      Windows Registry Editor Version 5.00
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}]
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0]
      @="Visual Lisp ActiveX module"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0]
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0win32]
      @="vl16.tlb"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0win64]
      @="C:Program FilesAutodeskAutoCAD 2020vl16.tlb"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0FLAGS]
      @="2"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0HELPDIR]
      @="C:Program FilesAutodeskAutoCAD 2020"
    3. Save the file and then double-click it to update the Windows Registry keys.
  • Clean uninstall AutoCAD and reinstall using full download for your Autodesk Account. See how to Clean uninstall of AutoCAD or verticals

Warning!
Improperly editing the Windows registry can make your computer operating system unusable. The Microsoft Knowledgebase provides critical information that you need to know about the registry. Use the Microsoft Registry Editor only at your own risk and only after backing up the registry as outlined for your operating system in the Microsoft article: How to back up and restore the registry in Windows and in the related solution: How to back up the system registry. You can also find more information about the registry in the Help topics in the Microsoft Registry Editor. 

Products:

AutoCAD Products;

Issue:

When attempting to run a LISP function in AutoCAD, an error message is displayed on the command line:

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

User-added image

The routine has run previously without errors, or runs fine on another computer.

Note: AutoCAD Electrical uses many LISP routines for normal operation, so this error may appear when doing things like editing (scooting, deleting, etc.) components. Also, the Electrical right-click (marking) menu may fail with this message:

Error: no function definition: VLR-MOUSE-REACTOR

Causes:

Missing or incomplete Registry entries under:
«HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}«. 

Solution:

Try the following:

  • Repair Windows Registry entry.
    1. Make sure that the vl16.tlb file exists under the path: C:Program FilesAutodesk<AutoCAD 20xx>vl16.tlb.
    2. Download the attached lspfix.zip file and change its file extension from .zip to .reg.
      This registry file is configured for AutoCAD 2020 as the installed version.
      However, if running a different version, open the file in any text editor and adjust the paths accordingly. For example:
      Windows Registry Editor Version 5.00
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}]
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0]
      @="Visual Lisp ActiveX module"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0]
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0win32]
      @="vl16.tlb"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0win64]
      @="C:Program FilesAutodeskAutoCAD 2020vl16.tlb"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0FLAGS]
      @="2"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0HELPDIR]
      @="C:Program FilesAutodeskAutoCAD 2020"
    3. Save the file and then double-click it to update the Windows Registry keys.
  • Clean uninstall AutoCAD and reinstall using full download for your Autodesk Account. See how to Clean uninstall of AutoCAD or verticals

Warning!
Improperly editing the Windows registry can make your computer operating system unusable. The Microsoft Knowledgebase provides critical information that you need to know about the registry. Use the Microsoft Registry Editor only at your own risk and only after backing up the registry as outlined for your operating system in the Microsoft article: How to back up and restore the registry in Windows and in the related solution: How to back up the system registry. You can also find more information about the registry in the Help topics in the Microsoft Registry Editor. 

Products:

AutoCAD Products;

Issue:

When attempting to run a LISP function in AutoCAD, an error message is displayed on the command line:

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

User-added image

The routine has run previously without errors, or runs fine on another computer.

Note: AutoCAD Electrical uses many LISP routines for normal operation, so this error may appear when doing things like editing (scooting, deleting, etc.) components. Also, the Electrical right-click (marking) menu may fail with this message:

Error: no function definition: VLR-MOUSE-REACTOR

Causes:

Missing or incomplete Registry entries under:
«HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}«. 

Solution:

Try the following:

  • Repair Windows Registry entry.
    1. Make sure that the vl16.tlb file exists under the path: C:Program FilesAutodesk<AutoCAD 20xx>vl16.tlb.
    2. Download the attached lspfix.zip file and change its file extension from .zip to .reg.
      This registry file is configured for AutoCAD 2020 as the installed version.
      However, if running a different version, open the file in any text editor and adjust the paths accordingly. For example:
      Windows Registry Editor Version 5.00
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}]
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0]
      @="Visual Lisp ActiveX module"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0]
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0win32]
      @="vl16.tlb"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0win64]
      @="C:Program FilesAutodeskAutoCAD 2020vl16.tlb"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0FLAGS]
      @="2"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0HELPDIR]
      @="C:Program FilesAutodeskAutoCAD 2020"
    3. Save the file and then double-click it to update the Windows Registry keys.
  • Clean uninstall AutoCAD and reinstall using full download for your Autodesk Account. See how to Clean uninstall of AutoCAD or verticals

Warning!
Improperly editing the Windows registry can make your computer operating system unusable. The Microsoft Knowledgebase provides critical information that you need to know about the registry. Use the Microsoft Registry Editor only at your own risk and only after backing up the registry as outlined for your operating system in the Microsoft article: How to back up and restore the registry in Windows and in the related solution: How to back up the system registry. You can also find more information about the registry in the Help topics in the Microsoft Registry Editor. 

Products:

AutoCAD Products;

Issue:

When attempting to run a LISP function in AutoCAD, an error message is displayed on the command line:

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

User-added image

The routine has run previously without errors, or runs fine on another computer.

Note: AutoCAD Electrical uses many LISP routines for normal operation, so this error may appear when doing things like editing (scooting, deleting, etc.) components. Also, the Electrical right-click (marking) menu may fail with this message:

Error: no function definition: VLR-MOUSE-REACTOR

Causes:

Missing or incomplete Registry entries under:
«HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}«. 

Solution:

Try the following:

  • Repair Windows Registry entry.
    1. Make sure that the vl16.tlb file exists under the path: C:Program FilesAutodesk<AutoCAD 20xx>vl16.tlb.
    2. Download the attached lspfix.zip file and change its file extension from .zip to .reg.
      This registry file is configured for AutoCAD 2020 as the installed version.
      However, if running a different version, open the file in any text editor and adjust the paths accordingly. For example:
      Windows Registry Editor Version 5.00
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}]
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0]
      @="Visual Lisp ActiveX module"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0]
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0win32]
      @="vl16.tlb"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0win64]
      @="C:Program FilesAutodeskAutoCAD 2020vl16.tlb"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0FLAGS]
      @="2"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0HELPDIR]
      @="C:Program FilesAutodeskAutoCAD 2020"
    3. Save the file and then double-click it to update the Windows Registry keys.
  • Clean uninstall AutoCAD and reinstall using full download for your Autodesk Account. See how to Clean uninstall of AutoCAD or verticals

Warning!
Improperly editing the Windows registry can make your computer operating system unusable. The Microsoft Knowledgebase provides critical information that you need to know about the registry. Use the Microsoft Registry Editor only at your own risk and only after backing up the registry as outlined for your operating system in the Microsoft article: How to back up and restore the registry in Windows and in the related solution: How to back up the system registry. You can also find more information about the registry in the Help topics in the Microsoft Registry Editor. 

Products:

AutoCAD Products;

Issue:

When attempting to run a LISP function in AutoCAD, an error message is displayed on the command line:

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

User-added image

The routine has run previously without errors, or runs fine on another computer.

Note: AutoCAD Electrical uses many LISP routines for normal operation, so this error may appear when doing things like editing (scooting, deleting, etc.) components. Also, the Electrical right-click (marking) menu may fail with this message:

Error: no function definition: VLR-MOUSE-REACTOR

Causes:

Missing or incomplete Registry entries under:
«HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}«. 

Solution:

Try the following:

  • Repair Windows Registry entry.
    1. Make sure that the vl16.tlb file exists under the path: C:Program FilesAutodesk<AutoCAD 20xx>vl16.tlb.
    2. Download the attached lspfix.zip file and change its file extension from .zip to .reg.
      This registry file is configured for AutoCAD 2020 as the installed version.
      However, if running a different version, open the file in any text editor and adjust the paths accordingly. For example:
      Windows Registry Editor Version 5.00
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}]
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0]
      @="Visual Lisp ActiveX module"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0]
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0win32]
      @="vl16.tlb"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0win64]
      @="C:Program FilesAutodeskAutoCAD 2020vl16.tlb"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0FLAGS]
      @="2"
      
      [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0HELPDIR]
      @="C:Program FilesAutodeskAutoCAD 2020"
    3. Save the file and then double-click it to update the Windows Registry keys.
  • Clean uninstall AutoCAD and reinstall using full download for your Autodesk Account. See how to Clean uninstall of AutoCAD or verticals

Warning!
Improperly editing the Windows registry can make your computer operating system unusable. The Microsoft Knowledgebase provides critical information that you need to know about the registry. Use the Microsoft Registry Editor only at your own risk and only after backing up the registry as outlined for your operating system in the Microsoft article: How to back up and restore the registry in Windows and in the related solution: How to back up the system registry. You can also find more information about the registry in the Help topics in the Microsoft Registry Editor. 

Products:

AutoCAD Products;

Issue

You saw an error containing the text No function definition.

You may have received one of several possible No function definition errors. The exact ones we’ve chronicled are listed in the Solution below.

Cause

A No function definition error is the result of a function within the software that can’t be completed (in other words, it’s not defined). The solution will depend on the function that’s not being defined.

Solution

Step 1: Restart your computer.

Simply restarting can sometimes clear up the error. Try opening CAD after restarting. If you don’t see a No function definition error, you’ve resolved the issue.

Still seeing a No function definition error after restarting your computer? Move on to the specific error message troubleshooting steps below.

Step 2 (if necessary): Troubleshoot your specific No function definition error message.

If restarting your computer didn’t resolve the error, your solution will depend on the exact text within the No function definition error you’re seeing:

• Error: No function definition: WM:COMMAND-WILL-START

This error is the result of custom civil engineering objects that the Canadian firm GHD attaches to its drawings. This practice allows GHD to implement precautions such as preventing users from deleting or moving critical utilities. However, this method of adding this functionality does not follow programming best practices, and essentially makes the file unusable by other firms.

Complete the following steps to clean these custom objects.

1. Open the CAD Options dialog box by typing Options or Op in the Command line and pressing Enter.

2. In the Options dialog box, select the Open and Save Tab. Then set the Demand load ObjectARX apps menu to Command invoke.

3. Open the problematic file.

4. Copy and paste the following text into the Command line, making sure to include all the parentheses:
(dictremove (namedobjdict) «VL-REACTORS»)

5. Press Enter.

6. Immediately run our Nuke tool on the file.

The reactor should now be removed from the file, and you can work with it as you would normally.

Close

• Error: No function definition: vlax-vla-object->ename

• Error: No function definition: vlax-ename->vla-object

• Error: No function definition: VLR-DWG-Reactor

If you received any of these three no function definition errors, your AutoCAD installation is likely configured improperly. The exact cause of these errors is unknown, although they may result from having multiple versions of AutoCAD on your computer.

To resolve the issue:

1. Download the zip file linked below.

Download the file to a location where you can easily find it, such as your desktop.

2. Locate and double-click the downloaded file vlax-ename fix.reg.zip.

3. You’ll now see the Registry Editor warning message pictured to the right. Click Yes.

We are the source of the information referenced in the message, and yes, you can trust us.

4. You’ll now have a file named vlax-ename fix.reg in that same location. Double-click this file.

You may need to run this file as an administrator.

5. Restart CAD.

6. Attempt the same action that generated the error. If you don’t see the error, you’ve resolved the issue.

Still getting the error? Move on to the next step.

7. Check whether you have multiple versions of AutoCAD or F/X CAD installed. If you have an older version installed, follow our steps to uninstall that version. Do not reinstall that older version.

8. Once you’re sure you only have one version of AutoCAD or F/X CAD (the version you want to use) installed, follow our steps to reinstall that version.

For example, if you got the error while trying to use F/X CAD 2018, repair F/X CAD 2018 after removing any older versions.

Problems installing? You may need to disable your antivirus software temporarily while installing AutoCAD or F/X CAD. Don’t forget to enable it once the installer finishes.

AutoCAD includes myriad add-on libraries. If you’re curious, take a look in the folder C:/Program Files/Autocad on your computer. The error may be a result of a problem with one of the following files in that folder: vlreac.dll, vllib.dll, or vlcom.dll.We have been unable to resolve this issue by copying these files over, and these files are not self-registering DLL files, which leaves reinstalling as the only viable solution.

Close

• Error: No function definition: dcl-form-show

This error is the result of a problem with the OpenDCL function. You can easily resolve it by following our steps to reinstall OpenDCL.

Close

• Error: No function definition: (command name)

Examples include:

— Error: No function definition: projectplants

— Error: No function definition: defineworkarea

The exact text of this error message will depend on the command or tool you attempted to use when you received the error. Examples include:

  • Error: No function definition: projectplants: You would have received this error when clicking on a plant.
  • Error: No function definition: defineworkarea: You would have received this error when attempting to open our New Work Area tool.

A similar No function definition error means the file LandFX.vlx was not able to load, but your menu loaded successfully. This issue can occur when:

• The file LandFX.vlx is stored in the LandFX folder on your office server, and the server connection is bad.

If so, ask your IT Admin to troubleshoot your Land F/X installation.

If you are not using our software with an office server, or if your IT admin has determined that your server connection is functioning properly, the issue may be occurring because:

• The file LandFX.vlx is lost, damaged, or missing.

If so, you can resolve the issue by reverting the LandFX.vlx file to the previous version:

1. Locate the file LandFX.vlx in your LandFX folder. Rename this file, giving it the name LandFX.vlx.old

2. Locate the file LandFX.vlx.bak in the same location. Rename this file, giving it the name LandFX.vlx

Close

Have you got this error in AutoCAD running some command or app that is AutoLISP based?

First thing to ensure is that Visual LISP is loaded so run (vl-load-com).

Below shows a result that is expected and all is working. Note that the drawing needs to have at least one object in it.
Command: (vl-load-com)
Command: (vlax-ename->vla-object(entlast))
#<VLA-OBJECT IAcadLine 0000005ce02af728>

If you get below result then something is broken in AutoCAD.
Command: (vlax-ename->vla-object(entlast))
; error: no function definition: VLAX-ENAME->VLA-OBJECT

I have not got this problem myself but a repair or reinstallation of AutoCAD has helped a couple of customers, one with AutoCAD 2016 and another with AutoCAD 2017. Suspected cause of this could be having run some registry cleaner or anti-virus that deleted vital registry settings that AutoCAD needs. One had run Malwarebytes the day earlier.

There might be an easier remedy but until this is found you know what to do to solve this problem. If you haven’t install any recent service pack or hotfix (that comes with an installer) this might also be a solution.

Update, solution found in this article.


Добро пожаловать!

Войдите или зарегистрируйтесь сейчас!

Войти

  1. Форумчанин

    Регистрация:
    22 сен 2014
    Сообщения:
    61
    Симпатии:
    6

    здравствуйте. стоит win7 x64+автокад сивил 2016+растер дизигнер
    помогите решить проблему, запускаю програмки с форума (гео-откос и гео_апп) а они не адекватно работают.
    произошло это как всегда неожиданно примерно в такой последовательности:
    все работало -> какое-то время не пользовался -> и на тебе «как отрезало»
    в частности гео-откос выдает: no function definition: vlax-ename->vla-object
    гео_апп не реагирует на кнопки, чертит не полилинии, а отрезки, не вставляет блоки.
    пробовал (vl-load-com) в коммандной строке вводить в ответ ничего
    пробовал (vla-get-activedocument (vlax-get-acad-object)) в ответ #<VLA-OBJECT IAcadDocument 0000000023870cf8>
    пробовал полную переустановку автокада с чистокой реестра и удалением папок ключей описанную здесь
    конечно при полной переустановке операционной системы все болезни лечатся, но как то это кардинально, да и времени тучу потратить
    может кто сталкивался с подобным?

    #1

  2. Регистрация:
    24 июн 2015
    Сообщения:
    7
    Симпатии:
    2

    Здравствуйте
    Нашли ответ на вопрос? Столкнулся с такой же ситуацией

    #2

  3. Форумчанин

    Регистрация:
    28 май 2012
    Сообщения:
    1.712
    Симпатии:
    639
    Адрес:

    Маськва

    Попробуйте прямо автору написать — BearDyugin
    Или в его соответствующие Ресурсы.

    #3

  4. Форумчанин

    Регистрация:
    30 ноя 2007
    Сообщения:
    2.680
    Симпатии:
    2.397
    Адрес:

    Сибирь

    С этого он и начал. Но к сожалению я не знаю в чём может быть проблема, периодически(но очень редко) обращаются с подобной проблемой, но даже предположить не могу с чем она связана. Чтобы узнать причину, мне нужно воспроизвести эту проблему на своём ПК, но сделать этого не получится.

    #4

  5. Форумчанин

  6. Регистрация:
    24 июн 2015
    Сообщения:
    7
    Симпатии:
    2

    Сейчас попробую.Спасибо.
    Вчера половину этого перечитал, вопрос так и не решил.Два раза переставлял Cad

    — Сообщения объединены, 15 ноя 2019, Оригинальное время сообщения: 15 ноя 2019

    Подскажите не совсем понятно.В реестре нашел эти строки.Как восстанавливаются пути.Где это делается?Может поможет

    #6

  7. Форумчанин

    просто поиском найди его на диске

    #7

  8. Регистрация:
    24 июн 2015
    Сообщения:
    7
    Симпатии:
    2

    Все получилось.Ура.Но пришлось менять путь в win 64, в win 32 ничего не выходило.
    Спасибо кто помогал

    Благодарность.png

    #8

  9. Форумчанин

    видимо AutoCAD у тебя х64

    #9

  10. Регистрация:
    3 июл 2019
    Сообщения:
    1
    Симпатии:
    2

    Добрый день, у меня, после удаления Autocad 2021 и установки Civil 3D вылезла аналогичная проблема — ошибка функции VLAX-ENAME->VLA-OBJECT
    И, как следствие, я не смог произвести экспорт координат в файл.
    Собственно помогло изменение реестра как указано в ссылка

    #10


    BearDyugin и Qvinto нравится это.

Поделиться этой страницей

Issue

You saw an error containing the text No function definition.

You may have received one of several possible No function definition errors. The exact ones we’ve chronicled are listed in the Solution below.

Cause

A No function definition error is the result of a function within the software that can’t be completed (in other words, it’s not defined). The solution will depend on the function that’s not being defined.

Solution

Step 1: Restart your computer.

Simply restarting can sometimes clear up the error. Try opening CAD after restarting. If you don’t see a No function definition error, you’ve resolved the issue.

Still seeing a No function definition error after restarting your computer? Move on to the specific error message troubleshooting steps below.

Step 2 (if necessary): Troubleshoot your specific No function definition error message.

If restarting your computer didn’t resolve the error, your solution will depend on the exact text within the No function definition error you’re seeing:

• Error: No function definition: WM:COMMAND-WILL-START

This error is the result of custom civil engineering objects that the Canadian firm GHD attaches to its drawings. This practice allows GHD to implement precautions such as preventing users from deleting or moving critical utilities. However, this method of adding this functionality does not follow programming best practices, and essentially makes the file unusable by other firms.

Complete the following steps to clean these custom objects.

1. Open the CAD Options dialog box by typing Options or Op in the Command line and pressing Enter.

2. In the Options dialog box, select the Open and Save Tab. Then set the Demand load ObjectARX apps menu to Command invoke.

3. Open the problematic file.

4. Copy and paste the following text into the Command line, making sure to include all the parentheses:
(dictremove (namedobjdict) «VL-REACTORS»)

5. Press Enter.

6. Immediately run our Nuke tool on the file.

The reactor should now be removed from the file, and you can work with it as you would normally.

Close

• Error: No function definition: vlax-vla-object->ename

• Error: No function definition: vlax-ename->vla-object

• Error: No function definition: VLR-DWG-Reactor

If you received any of these three no function definition errors, your AutoCAD installation is likely configured improperly. The exact cause of these errors is unknown, although they may result from having multiple versions of AutoCAD on your computer.

To resolve the issue:

1. Download the zip file linked below.

Download the file to a location where you can easily find it, such as your desktop.

2. Locate and double-click the downloaded file vlax-ename fix.reg.zip.

3. You’ll now see the Registry Editor warning message pictured to the right. Click Yes.

We are the source of the information referenced in the message, and yes, you can trust us.

4. You’ll now have a file named vlax-ename fix.reg in that same location. Double-click this file.

You may need to run this file as an administrator.

5. Restart CAD.

6. Attempt the same action that generated the error. If you don’t see the error, you’ve resolved the issue.

Still getting the error? Move on to the next step.

7. Check whether you have multiple versions of AutoCAD or F/X CAD installed. If you have an older version installed, follow our steps to uninstall that version. Do not reinstall that older version.

8. Once you’re sure you only have one version of AutoCAD or F/X CAD (the version you want to use) installed, follow our steps to reinstall that version.

For example, if you got the error while trying to use F/X CAD 2018, repair F/X CAD 2018 after removing any older versions.

Problems installing? You may need to disable your antivirus software temporarily while installing AutoCAD or F/X CAD. Don’t forget to enable it once the installer finishes.

AutoCAD includes myriad add-on libraries. If you’re curious, take a look in the folder C:/Program Files/Autocad on your computer. The error may be a result of a problem with one of the following files in that folder: vlreac.dll, vllib.dll, or vlcom.dll.We have been unable to resolve this issue by copying these files over, and these files are not self-registering DLL files, which leaves reinstalling as the only viable solution.

Close

• Error: No function definition: dcl-form-show

This error is the result of a problem with the OpenDCL function. You can easily resolve it by following our steps to reinstall OpenDCL.

Close

• Error: No function definition: (command name)

Examples include:

— Error: No function definition: projectplants

— Error: No function definition: defineworkarea

The exact text of this error message will depend on the command or tool you attempted to use when you received the error. Examples include:

  • Error: No function definition: projectplants: You would have received this error when clicking on a plant.
  • Error: No function definition: defineworkarea: You would have received this error when attempting to open our New Work Area tool.

A similar No function definition error means the file LandFX.vlx was not able to load, but your menu loaded successfully. This issue can occur when:

• The file LandFX.vlx is stored in the LandFX folder on your office server, and the server connection is bad.

If so, ask your IT Admin to troubleshoot your Land F/X installation.

If you are not using our software with an office server, or if your IT admin has determined that your server connection is functioning properly, the issue may be occurring because:

• The file LandFX.vlx is lost, damaged, or missing.

If so, you can resolve the issue by reverting the LandFX.vlx file to the previous version:

1. Locate the file LandFX.vlx in your LandFX folder. Rename this file, giving it the name LandFX.vlx.old

2. Locate the file LandFX.vlx.bak in the same location. Rename this file, giving it the name LandFX.vlx

Close


Добро пожаловать!

Войдите или зарегистрируйтесь сейчас!

Войти


  1. ViruS_worm

    Форумчанин

    Регистрация:
    22 сен 2014
    Сообщения:
    61
    Симпатии:
    6

    здравствуйте. стоит win7 x64+автокад сивил 2016+растер дизигнер
    помогите решить проблему, запускаю програмки с форума (гео-откос и гео_апп) а они не адекватно работают.
    произошло это как всегда неожиданно примерно в такой последовательности:
    все работало -> какое-то время не пользовался -> и на тебе «как отрезало»
    в частности гео-откос выдает: no function definition: vlax-ename->vla-object
    гео_апп не реагирует на кнопки, чертит не полилинии, а отрезки, не вставляет блоки.
    пробовал (vl-load-com) в коммандной строке вводить в ответ ничего
    пробовал (vla-get-activedocument (vlax-get-acad-object)) в ответ #<VLA-OBJECT IAcadDocument 0000000023870cf8>
    пробовал полную переустановку автокада с чистокой реестра и удалением папок ключей описанную здесь
    конечно при полной переустановке операционной системы все болезни лечатся, но как то это кардинально, да и времени тучу потратить
    может кто сталкивался с подобным?

    #1


  2. VovkaMel

    Регистрация:
    24 июн 2015
    Сообщения:
    7
    Симпатии:
    2

    Здравствуйте
    Нашли ответ на вопрос? Столкнулся с такой же ситуацией

    #2


  3. АлексЮстасу

    Форумчанин

    Регистрация:
    28 май 2012
    Сообщения:
    1.777
    Симпатии:
    653
    Адрес:

    Маськва

    Попробуйте прямо автору написать — BearDyugin
    Или в его соответствующие Ресурсы.

    #3


  4. BearDyugin

    Форумчанин

    Регистрация:
    30 ноя 2007
    Сообщения:
    2.703
    Симпатии:
    2.444
    Адрес:

    Сибирь

    С этого он и начал. Но к сожалению я не знаю в чём может быть проблема, периодически(но очень редко) обращаются с подобной проблемой, но даже предположить не могу с чем она связана. Чтобы узнать причину, мне нужно воспроизвести эту проблему на своём ПК, но сделать этого не получится.

    #4


  5. trir

    Форумчанин


  6. VovkaMel

    Регистрация:
    24 июн 2015
    Сообщения:
    7
    Симпатии:
    2

    Сейчас попробую.Спасибо.
    Вчера половину этого перечитал, вопрос так и не решил.Два раза переставлял Cad

    — Сообщения объединены, 15 ноя 2019, Оригинальное время сообщения: 15 ноя 2019

    Подскажите не совсем понятно.В реестре нашел эти строки.Как восстанавливаются пути.Где это делается?Может поможет

    #6


  7. trir

    Форумчанин

    просто поиском найди его на диске

    #7


  8. VovkaMel

    Регистрация:
    24 июн 2015
    Сообщения:
    7
    Симпатии:
    2

    Все получилось.Ура.Но пришлось менять путь в win 64, в win 32 ничего не выходило.
    Спасибо кто помогал

    Благодарность.png

    #8


  9. trir

    Форумчанин

    видимо AutoCAD у тебя х64

    #9


  10. Yaroslavv

    Регистрация:
    3 июл 2019
    Сообщения:
    1
    Симпатии:
    2

    Добрый день, у меня, после удаления Autocad 2021 и установки Civil 3D вылезла аналогичная проблема — ошибка функции VLAX-ENAME->VLA-OBJECT
    И, как следствие, я не смог произвести экспорт координат в файл.
    Собственно помогло изменение реестра как указано в ссылка

    #10


    BearDyugin и Qvinto нравится это.

Поделиться этой страницей

Have you got this error in AutoCAD running some command or app that is AutoLISP based?

First thing to ensure is that Visual LISP is loaded so run (vl-load-com).

Below shows a result that is expected and all is working. Note that the drawing needs to have at least one object in it.
Command: (vl-load-com)
Command: (vlax-ename->vla-object(entlast))
#<VLA-OBJECT IAcadLine 0000005ce02af728>

If you get below result then something is broken in AutoCAD.
Command: (vlax-ename->vla-object(entlast))
; error: no function definition: VLAX-ENAME->VLA-OBJECT

I have not got this problem myself but a repair or reinstallation of AutoCAD has helped a couple of customers, one with AutoCAD 2016 and another with AutoCAD 2017. Suspected cause of this could be having run some registry cleaner or anti-virus that deleted vital registry settings that AutoCAD needs. One had run Malwarebytes the day earlier.

There might be an easier remedy but until this is found you know what to do to solve this problem. If you haven’t install any recent service pack or hotfix (that comes with an installer) this might also be a solution.

Update, solution found in this article.

Понравилась статья? Поделить с друзьями:
  • Ошибка no function definition nil
  • Ошибка no data for testing
  • Ошибка no compatible graphics device found
  • Ошибка no bus что это такое
  • Ошибка no bootable device на ноутбуке lenovo