Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Python script .vscode\settings

1 REPLY 1
SOLVED
Reply
Message 1 of 2
doojin.kang
353 Views, 1 Reply

Python script .vscode\settings

Hi,

This is about the environment creating a python script and editing it on visual studio code.

 

After creating a python script, while editing the script, the vscode python setting file is created automatically.

 

C:\Users\(username)\AppData\Roaming\Autodesk\Autodesk Fusion 360\API\Scripts\Myscript\.vscode\settings.json

{
    "python.autoComplete.extraPaths":  ...,
    "python.analysis.extraPaths": ...,

    "python.pythonPath": ...,

}

 

"python.pythonPath" key is outdated, 

"python.defaultInterpreterPath"  is right to vscode later than 2021.6.0 (16 June 2021)

 

Please refer the vscode change note

https://github.com/microsoft/vscode-python/blob/main/CHANGELOG.md#202160-16-june-2021

 

Thanks,

Doojin

Tags (3)
Labels (2)
1 REPLY 1
Message 2 of 2
BrianEkins
in reply to: doojin.kang

Thanks for reporting this. I checked and the development team wasn't aware of this change and will get it fixed.

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums