Autodesk-AutoCAD / AutoLispExt

Visual Studio Code Extension for AutoCAD® AutoLISP
https://marketplace.visualstudio.com/items?itemName=Autodesk.autolispext
Apache License 2.0
83 stars 29 forks source link

Errors on the AutoCAD AutoLISP Extension for Visual Studio Code #177

Closed roja83567 closed 2 years ago

roja83567 commented 2 years ago

Hello,

I installed VS Code, then its AutoCAD AutoLISP Extension (by Autodesk), in order to edit & debug my lisp programs. I was able to access this platform through plain AutoCAD 2021 via the VLISP command.

Also, I am following the steps from the Autodesk article below to configure & use properly VS Code & its extension to work with lisp programs for AutoCAD

-Getting Started with Visual Studio Code (AutoLISP/VS Code): https://help.autodesk.com/view/OARX/2022/ENU/?guid=GUID-7BE00235-5D40-4789-9E34-D57685E83875

That being said, I got stuck on step 4, i.e. Create or Open an Existing AutoLISP Project. As shown on the attached JPG file, every time I click on the (a) "Create a New Project" icon or the (b) "Open an Existing Project" icon, I get the following errors respectively:

(a) command 'autolisp.createProject' not found (b) command 'autolisp.openProject' not found

Screenshot of the error

I had tried to google these errors, but I did not found anything related to them.

Could you please advise?

Thanks in advance, RR

Sen-real commented 2 years ago

Hi @roja83567 , I couldn't reproduce this problem. I guess the extension was not successfully installed on your machine. Please have a try with following steps:

  1. remove the AutoLISP extension;
  2. restart VS Code
  3. reinstall the AutoLISP extension; it may take sometime, so please wait until it's really finished, as shown below: image

Hope it works this time.

roja83567 commented 2 years ago

Hi @Sen-real ,

Thanks for your input on this matter.

I tried your suggestion unsuccessfully; however, I updated both VS Code & the AC AutoLISP Extension to the next available versions, v1.65.2 & v1.5.0 respectively, and the problem was solved.

Thanks again for igniting the spark that helped to resolve the cause of this issue.

Cheers, RR

Sen-real commented 2 years ago

Hi @roja83567 , Really happy to know it works now! Yes, since VS Code APIs keep changing/upgrading, please make sure your VS Code and AutoLISP Extension are upgraded to the latest versions. Can we resolve this issue?

roja83567 commented 2 years ago

Thanks @Sen-real ,

The issue has already been resolved, so it's all good now.

Cheers, RR