<?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 How exit mobupy after executed a python script in MotionBuilder Forum</title>
    <link>https://forums.autodesk.com/t5/motionbuilder-forum/how-exit-mobupy-after-executed-a-python-script/m-p/13744141#M3804</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I write a python script to process mocap data with motion builder 2024. I integrate the script in my workflow with mobupy.exe. it works fine when process single file with mobupy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I give it multiple files to process, which just gather all the fbx files in specified folder and process via the script i wrote one by one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the situation is, it can only process the first file, than the mobupy.exe process seems freezed. When I use task manager to end the mobupy process, it will continue to execute with the next fbx file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try call quit()/exit()/os._exit()/sys.exit() in the last in script, it seems the exit command is ignored, mobupy.exe still exists.&amp;nbsp; While I call the exit commands in origin python.exe, I can exit python.exe successfully.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So&amp;nbsp; how can I exit the mobupy.exe after the motion builder python script executed?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Jul 2025 08:42:09 GMT</pubDate>
    <dc:creator>yohiro36</dc:creator>
    <dc:date>2025-07-29T08:42:09Z</dc:date>
    <item>
      <title>How exit mobupy after executed a python script</title>
      <link>https://forums.autodesk.com/t5/motionbuilder-forum/how-exit-mobupy-after-executed-a-python-script/m-p/13744141#M3804</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I write a python script to process mocap data with motion builder 2024. I integrate the script in my workflow with mobupy.exe. it works fine when process single file with mobupy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I give it multiple files to process, which just gather all the fbx files in specified folder and process via the script i wrote one by one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the situation is, it can only process the first file, than the mobupy.exe process seems freezed. When I use task manager to end the mobupy process, it will continue to execute with the next fbx file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try call quit()/exit()/os._exit()/sys.exit() in the last in script, it seems the exit command is ignored, mobupy.exe still exists.&amp;nbsp; While I call the exit commands in origin python.exe, I can exit python.exe successfully.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So&amp;nbsp; how can I exit the mobupy.exe after the motion builder python script executed?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jul 2025 08:42:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/motionbuilder-forum/how-exit-mobupy-after-executed-a-python-script/m-p/13744141#M3804</guid>
      <dc:creator>yohiro36</dc:creator>
      <dc:date>2025-07-29T08:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: How exit mobupy after executed a python script</title>
      <link>https://forums.autodesk.com/t5/motionbuilder-forum/how-exit-mobupy-after-executed-a-python-script/m-p/13744925#M3805</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/17496555"&gt;@yohiro36&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’ve encountered a similar issue when using mobupy.exe with MotionBuilder 2024.&lt;/P&gt;&lt;P&gt;In my case, the root cause wasn’t mobupy.exe itself, but rather a background process related to the main MotionBuilder application.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you just want to terminate the process, you’ll need to end the "Autodesk MotionBuilder" task in Task Manager, or identify and stop any background process that might be running indefinitely.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For me, the issue was resolved by removing a third-party DLL plugin.&lt;BR /&gt;Are you using any external plugins, such as the Unreal Engine Live Link Plugin?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jul 2025 16:41:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/motionbuilder-forum/how-exit-mobupy-after-executed-a-python-script/m-p/13744925#M3805</guid>
      <dc:creator>Ndgt</dc:creator>
      <dc:date>2025-07-29T16:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: How exit mobupy after executed a python script</title>
      <link>https://forums.autodesk.com/t5/motionbuilder-forum/how-exit-mobupy-after-executed-a-python-script/m-p/13745551#M3806</link>
      <description>&lt;P&gt;Thanks for your solution! It did solve my issue.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2025 02:49:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/motionbuilder-forum/how-exit-mobupy-after-executed-a-python-script/m-p/13745551#M3806</guid>
      <dc:creator>yohiro36</dc:creator>
      <dc:date>2025-07-30T02:49:08Z</dc:date>
    </item>
  </channel>
</rss>

