Проблема
При попытке запустить функцию LISP в AutoCAD в командной строке отображается сообщение об ошибке:
Ошибка: нет определения функции: VLAX-ENAME->VLA-OBJECT.
Процедура ранее выполнялась без ошибок или работает нормально на другом компьютере.
Примечание. В AutoCAD Electrical используется множество процедур LISP для нормальной работы, поэтому эта ошибка может появляться при редактировании таких компонентов, как быстрое перемещение, удаление и т. д. Кроме того, контекстное меню Electrical (отслеживающее) может вызвать сбой со следующим сообщением:
Ошибка: нет определения функции: VLR-MOUSE-REACTOR
Причины
Отсутствующие или неполные записи реестра в папке
HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}.
Решение
Выполните следующие действия.
- Восстановите запись реестра Windows.
- Убедитесь, что файл vl16.tlb существует в папке C:Program FilesAutodesk<AutoCAD 20xx>vl16.tlb.
- Загрузите прикрепленный файл 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 Files\Autodesk\AutoCAD 2020\vl16.tlb" [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0FLAGS] @="2" [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0HELPDIR] @="C:\Program Files\Autodesk\AutoCAD 2020"
- Сохраните файл, а затем дважды щелкните его, чтобы обновить ключи реестра 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.
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.
- Make sure that the vl16.tlb file exists under the path: C:Program FilesAutodesk<AutoCAD 20xx>vl16.tlb.
- 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 Files\Autodesk\AutoCAD 2020\vl16.tlb" [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0FLAGS] @="2" [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0HELPDIR] @="C:\Program Files\Autodesk\AutoCAD 2020"
- 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.
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.
- Make sure that the vl16.tlb file exists under the path: C:Program FilesAutodesk<AutoCAD 20xx>vl16.tlb.
- 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 Files\Autodesk\AutoCAD 2020\vl16.tlb" [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0FLAGS] @="2" [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0HELPDIR] @="C:\Program Files\Autodesk\AutoCAD 2020"
- 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.
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.
- Make sure that the vl16.tlb file exists under the path: C:Program FilesAutodesk<AutoCAD 20xx>vl16.tlb.
- 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 Files\Autodesk\AutoCAD 2020\vl16.tlb" [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0FLAGS] @="2" [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0HELPDIR] @="C:\Program Files\Autodesk\AutoCAD 2020"
- 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.
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.
- Make sure that the vl16.tlb file exists under the path: C:Program FilesAutodesk<AutoCAD 20xx>vl16.tlb.
- 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 Files\Autodesk\AutoCAD 2020\vl16.tlb" [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0FLAGS] @="2" [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0HELPDIR] @="C:\Program Files\Autodesk\AutoCAD 2020"
- 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.
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.
- Make sure that the vl16.tlb file exists under the path: C:Program FilesAutodesk<AutoCAD 20xx>vl16.tlb.
- 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 Files\Autodesk\AutoCAD 2020\vl16.tlb" [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0FLAGS] @="2" [HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{A4081F53-974E-479E-A26E-E6DE9A5B2489}1.0HELPDIR] @="C:\Program Files\Autodesk\AutoCAD 2020"
- 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;
Добро пожаловать!
Войдите или зарегистрируйтесь сейчас!
Войти
-
Форумчанин
- Регистрация:
- 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
-
- Регистрация:
- 24 июн 2015
- Сообщения:
- 7
- Симпатии:
- 2
Здравствуйте
Нашли ответ на вопрос? Столкнулся с такой же ситуацией#2
-
Форумчанин
- Регистрация:
- 28 май 2012
- Сообщения:
- 1.725
- Симпатии:
- 640
- Адрес:
-
Маськва
Попробуйте прямо автору написать — BearDyugin
Или в его соответствующие Ресурсы.#3
-
Форумчанин
- Регистрация:
- 30 ноя 2007
- Сообщения:
- 2.680
- Симпатии:
- 2.399
- Адрес:
-
Сибирь
С этого он и начал. Но к сожалению я не знаю в чём может быть проблема, периодически(но очень редко) обращаются с подобной проблемой, но даже предположить не могу с чем она связана. Чтобы узнать причину, мне нужно воспроизвести эту проблему на своём ПК, но сделать этого не получится.
#4
-
Форумчанин
-
- Регистрация:
- 24 июн 2015
- Сообщения:
- 7
- Симпатии:
- 2
Сейчас попробую.Спасибо.
Вчера половину этого перечитал, вопрос так и не решил.Два раза переставлял Cad— Сообщения объединены, 15 ноя 2019, Оригинальное время сообщения: 15 ноя 2019 —
Подскажите не совсем понятно.В реестре нашел эти строки.Как восстанавливаются пути.Где это делается?Может поможет
#6
-
Форумчанин
просто поиском найди его на диске
#7
-
- Регистрация:
- 24 июн 2015
- Сообщения:
- 7
- Симпатии:
- 2
Все получилось.Ура.Но пришлось менять путь в win 64, в win 32 ничего не выходило.
Спасибо кто помогал#8
-
Форумчанин
видимо AutoCAD у тебя х64
#9
-
- Регистрация:
- 3 июл 2019
- Сообщения:
- 1
- Симпатии:
- 2
Добрый день, у меня, после удаления Autocad 2021 и установки Civil 3D вылезла аналогичная проблема — ошибка функции VLAX-ENAME->VLA-OBJECT
И, как следствие, я не смог произвести экспорт координат в файл.
Собственно помогло изменение реестра как указано в ссылка#10
BearDyugin и Qvinto нравится это.