<?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 Re: Maxscript + Qt RuntimeError in 3ds Max Programming Forum</title>
    <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/maxscript-qt-runtimeerror/m-p/10739499#M4792</link>
    <description>&lt;P&gt;Thank you for the tips Sowrdslayer,&lt;/P&gt;&lt;P&gt;I'll definitely look at shiboken and the post you mentioned.&lt;/P&gt;&lt;P&gt;Sorry for the noob questions, thanks to you I feel a bit less lost &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 06 Nov 2021 08:54:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-11-06T08:54:56Z</dc:date>
    <item>
      <title>Maxscript + Qt RuntimeError</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/maxscript-qt-runtimeerror/m-p/10737730#M4790</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;still trying to make some stuff using this method:&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/3ds-max-programming/maxscript-qt-ui/m-p/10052536/highlight/false#M26886" target="_blank"&gt;https://forums.autodesk.com/t5/3ds-max-programming/maxscript-qt-ui/m-p/10052536/highlight/false#M26886&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Getting "RuntimeError: Internal C++ object (PySide2.QtWidgets.QMainWindow) already deleted." each time I open, save or reset max.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to save&amp;nbsp;"GetQMaxMainWindow" and my dialog to persistent variables + using callbacks with no luck &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GetQMaxMainWindow keeps living but my dialog returns&amp;nbsp; "&amp;lt;Error getting string representation&amp;gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thought ?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 11:06:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/maxscript-qt-runtimeerror/m-p/10737730#M4790</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-11-05T11:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Maxscript + Qt RuntimeError</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/maxscript-qt-runtimeerror/m-p/10738219#M4791</link>
      <description>&lt;P&gt;You're again linking to a post about partial functions and really related to Qt stuff so this time I'm gonna assume it's about the .ui file again. Next time better post a complete code snippet that shows the problem though.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While you can also always check with&amp;nbsp;&lt;FONT face="courier new,courier"&gt;shiboken.isValid&lt;/FONT&gt; if the underlying C++ object wasn't destroyed (see the &lt;A href="https://forums.autodesk.com/t5/3ds-max-programming/maxscript-qt-close-event/m-p/10725404/highlight/true#M28035" target="_blank" rel="noopener"&gt;previous code sample&lt;/A&gt;, I'd also recommended checking &lt;A href="https://wiki.qt.io/PySide_Shiboken_Object_Ownership" target="_blank" rel="noopener"&gt;PySide shiboken object ownership&lt;/A&gt; if you haven't already), it's worth noting that usually if you're not destroying the objects, it's not really needed. The exception here is when loading .ui files where it's again not the responsibility of PySide to create and wrap the objects. See the &lt;A href="http://discourse.techart.online/t/pyside-in-maya-internal-c-object-already-deleted-for-returned-pyside-objects/4877/6" target="_blank" rel="noopener"&gt;discussion on tech artists&lt;/A&gt; on ways how to avoid these issues.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 14:42:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/maxscript-qt-runtimeerror/m-p/10738219#M4791</guid>
      <dc:creator>Swordslayer</dc:creator>
      <dc:date>2021-11-05T14:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: Maxscript + Qt RuntimeError</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/maxscript-qt-runtimeerror/m-p/10739499#M4792</link>
      <description>&lt;P&gt;Thank you for the tips Sowrdslayer,&lt;/P&gt;&lt;P&gt;I'll definitely look at shiboken and the post you mentioned.&lt;/P&gt;&lt;P&gt;Sorry for the noob questions, thanks to you I feel a bit less lost &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Nov 2021 08:54:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/maxscript-qt-runtimeerror/m-p/10739499#M4792</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-11-06T08:54:56Z</dc:date>
    </item>
  </channel>
</rss>

