<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Debugging 3ds Max Python code from VS Code in 3ds Max Programming Forum</title>
    <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/debugging-3ds-max-python-code-from-vs-code/m-p/10925374#M4522</link>
    <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;I am trying to run this example.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; :&amp;nbsp;&lt;A href="https://help.autodesk.com/view/MAXDEV/2022/ENU/?guid=MAXDEV_Python_tutorials_creating_the_dialog_html" target="_blank" rel="noopener"&gt;https://help.autodesk.com/view/MAXDEV/2022/ENU/?guid=MAXDEV_Python_tutorials_creating_the_dialog_html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything works fine until "Wait, I see problems with my import statements" section.&lt;/P&gt;&lt;P&gt;Even if I follow those steps, I am still seeing import error, like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mustafapassahci_0-1643876933376.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1020135i34A8D6E07F44903A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mustafapassahci_0-1643876933376.png" alt="mustafapassahci_0-1643876933376.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is this normal case? I tried to change "python interpreter" to the max's python with this way:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mustafapassahci_1-1643877073481.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1020137i8A34EB3BCEB5F93A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mustafapassahci_1-1643877073481.png" alt="mustafapassahci_1-1643877073481.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and then my problem disappears but this time vs code can't detect PySide2 module:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mustafapassahci_2-1643877244733.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1020140iBE34B9B190650761/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mustafapassahci_2-1643877244733.png" alt="mustafapassahci_2-1643877244733.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;plus pyside's "autocomplete" tool is gone. I can't see pymsx's&amp;nbsp;intellisense either way.&lt;BR /&gt;I added this code in settings.json but example using 2021's path. Should I install max 2021?&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;"python.pythonPath": "C:\\Program Files\\Autodesk\\3ds Max 2022\\Python37\\python.exe",
"python.autoComplete.extraPaths": ["C:\\Program Files\\Autodesk\\3ds Max 2022\\Python37"]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;at the end I want to see this in vs code as well:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mustafapassahci_3-1643877635982.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1020143i697BFF98EE29072C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mustafapassahci_3-1643877635982.png" alt="mustafapassahci_3-1643877635982.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Feb 2022 08:44:39 GMT</pubDate>
    <dc:creator>mustafapassahci</dc:creator>
    <dc:date>2022-02-03T08:44:39Z</dc:date>
    <item>
      <title>Debugging 3ds Max Python code from VS Code</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/debugging-3ds-max-python-code-from-vs-code/m-p/10925374#M4522</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;I am trying to run this example.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; :&amp;nbsp;&lt;A href="https://help.autodesk.com/view/MAXDEV/2022/ENU/?guid=MAXDEV_Python_tutorials_creating_the_dialog_html" target="_blank" rel="noopener"&gt;https://help.autodesk.com/view/MAXDEV/2022/ENU/?guid=MAXDEV_Python_tutorials_creating_the_dialog_html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything works fine until "Wait, I see problems with my import statements" section.&lt;/P&gt;&lt;P&gt;Even if I follow those steps, I am still seeing import error, like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mustafapassahci_0-1643876933376.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1020135i34A8D6E07F44903A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mustafapassahci_0-1643876933376.png" alt="mustafapassahci_0-1643876933376.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is this normal case? I tried to change "python interpreter" to the max's python with this way:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mustafapassahci_1-1643877073481.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1020137i8A34EB3BCEB5F93A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mustafapassahci_1-1643877073481.png" alt="mustafapassahci_1-1643877073481.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and then my problem disappears but this time vs code can't detect PySide2 module:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mustafapassahci_2-1643877244733.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1020140iBE34B9B190650761/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mustafapassahci_2-1643877244733.png" alt="mustafapassahci_2-1643877244733.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;plus pyside's "autocomplete" tool is gone. I can't see pymsx's&amp;nbsp;intellisense either way.&lt;BR /&gt;I added this code in settings.json but example using 2021's path. Should I install max 2021?&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;"python.pythonPath": "C:\\Program Files\\Autodesk\\3ds Max 2022\\Python37\\python.exe",
"python.autoComplete.extraPaths": ["C:\\Program Files\\Autodesk\\3ds Max 2022\\Python37"]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;at the end I want to see this in vs code as well:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mustafapassahci_3-1643877635982.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1020143i697BFF98EE29072C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mustafapassahci_3-1643877635982.png" alt="mustafapassahci_3-1643877635982.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 08:44:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/debugging-3ds-max-python-code-from-vs-code/m-p/10925374#M4522</guid>
      <dc:creator>mustafapassahci</dc:creator>
      <dc:date>2022-02-03T08:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging 3ds Max Python code from VS Code</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/debugging-3ds-max-python-code-from-vs-code/m-p/10934071#M4523</link>
      <description>&lt;P&gt;Hello Mustafa,&lt;/P&gt;&lt;P&gt;Thanks a lot for reporting this. I juste tried it on my side and to make it work I had to set it this way:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;"python.autoComplete.extraPaths": ["C:\\Program Files\\Autodesk\\3ds Max 2022\\Python37\\Lib\\site-packages"]&lt;/LI-CODE&gt;&lt;P&gt;Does this solve the issue for you? (if it does I will make sure the doc is updated accordingly).&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;Hugo&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 16:54:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/debugging-3ds-max-python-code-from-vs-code/m-p/10934071#M4523</guid>
      <dc:creator>458569</dc:creator>
      <dc:date>2022-02-07T16:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging 3ds Max Python code from VS Code</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/debugging-3ds-max-python-code-from-vs-code/m-p/10934268#M4524</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Import error disappeared but intellisense&amp;nbsp;still doesn't appear.&amp;nbsp;Is it normal for it not to appear?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mustafapassahci_1-1644258252660.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1021867i58F4272B579E298E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mustafapassahci_1-1644258252660.png" alt="mustafapassahci_1-1644258252660.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;my settings.json:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mustafapassahci_2-1644258329313.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1021868iA41AEA03D9BD9181/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mustafapassahci_2-1644258329313.png" alt="mustafapassahci_2-1644258329313.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my interpreter:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mustafapassahci_4-1644258360194.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1021875i47FB660F7F164112/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mustafapassahci_4-1644258360194.png" alt="mustafapassahci_4-1644258360194.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mustafapassahci_5-1644258370250.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1021876i6E713E09F8D1E45F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mustafapassahci_5-1644258370250.png" alt="mustafapassahci_5-1644258370250.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 11:19:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/debugging-3ds-max-python-code-from-vs-code/m-p/10934268#M4524</guid>
      <dc:creator>mustafapassahci</dc:creator>
      <dc:date>2022-02-08T11:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging 3ds Max Python code from VS Code</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/debugging-3ds-max-python-code-from-vs-code/m-p/10934292#M4525</link>
      <description>&lt;P&gt;Hello Mustafa,&lt;/P&gt;&lt;P&gt;You should see a few things like animate (like... pymxs.an should suggest autocompletion).&lt;/P&gt;&lt;P&gt;This is the only thing that will currently work.&lt;/P&gt;&lt;P&gt;So it is "normal" (I should probably use the word "expected") that pymxs.ru does not suggest autocomplete to "runtime".&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 18:34:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/debugging-3ds-max-python-code-from-vs-code/m-p/10934292#M4525</guid>
      <dc:creator>458569</dc:creator>
      <dc:date>2022-02-07T18:34:26Z</dc:date>
    </item>
  </channel>
</rss>

