3dsmax 2021 and VS Code

3dsmax 2021 and VS Code

mrBort
Explorer Explorer
2,165 Views
2 Replies
Message 1 of 3

3dsmax 2021 and VS Code

mrBort
Explorer
Explorer

Hello Everybody,

 

Does someone know how to setup VS Code for scripting with 3dsmax 2021 and debugging and using the Python37. I searched the Dev docs but i could not find any tutorial. 

 

When i put "C:\\Program Files\\Autodesk\\3ds Max 2021\\Python37\\python.exe" as the Python Interpreter for VS Code it is unable to detect it. But the 2.7 Python with 3dsmaxpy.exe works.

 

I am especially interested in autocompletion & linting with  pymxs

 

 

Many Thanks,

Bernd

0 Likes
Accepted solutions (1)
2,166 Views
2 Replies
Replies (2)
Message 2 of 3

attilaszabo
Alumni
Alumni
Accepted solution

Hello @mrBort ,

 

Please check out this Python 3 tutorial in our online help.

Look for the section called "Debugging 3ds Max Python code from VS Code".

 

I hope this helps,

Attila Szabo

Attila Szabo
Product Owner, 3ds Max
Autodesk
0 Likes
Message 3 of 3

mrBort
Explorer
Explorer

Thank you very much Mr. Szabo.

 

All the Best, 🙂

0 Likes