Announcements
Autodesk Community will be read-only between April 26 and April 27 as we complete essential maintenance. We will remove this banner once completed. Thanks for your understanding

Visual Studio broke API, no longer able to import adsk

dewaine50
Advocate Advocate
1,074 Views
5 Replies
Message 1 of 6

Visual Studio broke API, no longer able to import adsk

dewaine50
Advocate
Advocate

Hi, I'm used to using the Spyder IDE and recently one of the updates to fusion removed my familiar developement process WITHOUT MY CONSENT OR ANY OPTION TO REVERT now nothing works. I'm getting an error where one of the libraries no longer exists. How do have this go back to normal? Am I even allowed to revert back to SPyder so this doesn't happen?

    import adsk.core, adsk.fusion, adsk.cam, traceback, sys, re
ModuleNotFoundError: No module named 'adsk'
0 Likes
1,075 Views
5 Replies
Replies (5)
Message 2 of 6

PinRudolf
Advocate
Advocate

Hi Dewaine,

 

I'm getting the same error message when I run the script in the terminal, however when I start the script from Fusion everything works as expected. Unfortunately you will have to start scripts from within Fusion now. You can still run in the terminal for syntax checking. When I do have a syntax error the terminal shows me the correct error and the ModuleNotFoundError is gone.

 

Also see the help files on VSCode. 

1 Like
Message 3 of 6

Nilesh.Mohite
Autodesk
Autodesk

Hi @dewaine50  & @PinRudolf ,

Now with October release there is support for running/rerunning script from VSCode when launched in edit or debug mode from fusion.

Please refer below post by @goyals 

https://forums.autodesk.com/t5/fusion-360-api-and-scripts/some-vscode-fixes-delivered-with-fusion-oc... 

Thanks and Regards,

Nilesh


Nilesh Mohite
LinkedIn

If my answer helped you, please use  ACCEPT SOLUTION .
Also be generous with Likes!  Thank you and enjoy!

0 Likes
Message 4 of 6

dewaine50
Advocate
Advocate

Why can't I get Spyder back? Why is that outright not an option?

0 Likes
Message 5 of 6

JesusFreke
Advocate
Advocate

You can download a standalone version of Spyder and use it separately, but it won't have any integration with Fusion 360.

0 Likes
Message 6 of 6

dewaine50
Advocate
Advocate

That is the worst possible answer. Is Spyder just not supported? If so why. 

0 Likes