<?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 save or export the selection with characters in MotionBuilder Forum</title>
    <link>https://forums.autodesk.com/t5/motionbuilder-forum/save-or-export-the-selection-with-characters/m-p/10773071#M625</link>
    <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;I&amp;nbsp; am working on python script, I have a fbx with three different characters, I want to save or export only one characters or the selection to&amp;nbsp; a&amp;nbsp; new fbx. &lt;SPAN&gt;Could you help me with some ideas how it could be achieved? Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Nov 2021 08:55:10 GMT</pubDate>
    <dc:creator>ljc091111</dc:creator>
    <dc:date>2021-11-22T08:55:10Z</dc:date>
    <item>
      <title>save or export the selection with characters</title>
      <link>https://forums.autodesk.com/t5/motionbuilder-forum/save-or-export-the-selection-with-characters/m-p/10773071#M625</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;I&amp;nbsp; am working on python script, I have a fbx with three different characters, I want to save or export only one characters or the selection to&amp;nbsp; a&amp;nbsp; new fbx. &lt;SPAN&gt;Could you help me with some ideas how it could be achieved? Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Nov 2021 08:55:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/motionbuilder-forum/save-or-export-the-selection-with-characters/m-p/10773071#M625</guid>
      <dc:creator>ljc091111</dc:creator>
      <dc:date>2021-11-22T08:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: save or export the selection with characters</title>
      <link>https://forums.autodesk.com/t5/motionbuilder-forum/save-or-export-the-selection-with-characters/m-p/10791038#M626</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Depends how your scene is set up, but a couple of options:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Namespaces&lt;/SPAN&gt;&lt;/STRONG&gt; - Easiest options is to put all the objects belonging to the character in a unique &lt;STRONG&gt;CHARACTER_NAMEPSACE&lt;/STRONG&gt;. Then you can use &lt;STRONG&gt;FBSystem&lt;SPAN class=""&gt;(&lt;/SPAN&gt;)&lt;SPAN class=""&gt;.&lt;/SPAN&gt;Scene&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;NamespaceSelectContent&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;CHARACTER_NAMEPSACE, True)&lt;/STRONG&gt; to select all the character objects, and then set &lt;SPAN&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;FBFbxOptions&lt;/SPAN&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;SaveSelectedModelsOnly&lt;/STRONG&gt; = True and &lt;STRONG&gt;&lt;SPAN class=""&gt;FBApplication&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;)&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;FileSave&lt;/SPAN&gt;&lt;/STRONG&gt; to FILE_PATH, &lt;SPAN class=""&gt;using FBFbxOptions&lt;/SPAN&gt; to set save options for the file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Hierachy&lt;/SPAN&gt;&lt;/STRONG&gt; - assuming all your characters are parented under single hierarchies, you could select the entire hierarchy and then&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;SaveSelectedModelsOnly&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Characters - more complicated, but you can get a list of &lt;STRONG&gt;FBSystem&lt;SPAN class=""&gt;(&lt;/SPAN&gt;)&lt;SPAN class=""&gt;.&lt;/SPAN&gt;Scene&lt;SPAN class=""&gt;.&lt;/SPAN&gt;Characters&lt;/STRONG&gt;, and then for each &lt;STRONG&gt;CHARACTER&lt;/STRONG&gt;, get each &lt;STRONG&gt;&lt;SPAN class=""&gt;nodeID&lt;/SPAN&gt;&lt;/STRONG&gt; in &lt;STRONG&gt;&lt;SPAN class=""&gt;FBBodyNodeId&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;values&lt;SPAN class=""&gt;.&lt;/SPAN&gt;values&lt;SPAN class=""&gt;(&lt;/SPAN&gt;)&lt;/STRONG&gt; and then use&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;&amp;nbsp;&lt;STRONG&gt;&lt;SPAN class=""&gt;nodeID&lt;/SPAN&gt;&lt;/STRONG&gt; to &lt;STRONG&gt;&lt;SPAN class=""&gt;GetModel&lt;/SPAN&gt;&lt;/STRONG&gt; in &lt;STRONG&gt;CHARACTER&lt;/STRONG&gt; and select it. &lt;SPAN class=""&gt;Then&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;SaveSelectedModelsOnly&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;&lt;SPAN&gt;Hopefully, one of these helps,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 15:05:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/motionbuilder-forum/save-or-export-the-selection-with-characters/m-p/10791038#M626</guid>
      <dc:creator>Mocappy</dc:creator>
      <dc:date>2021-11-30T15:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: save or export the selection with characters</title>
      <link>https://forums.autodesk.com/t5/motionbuilder-forum/save-or-export-the-selection-with-characters/m-p/10912581#M627</link>
      <description>&lt;P&gt;thx&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 06:37:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/motionbuilder-forum/save-or-export-the-selection-with-characters/m-p/10912581#M627</guid>
      <dc:creator>ljc091111</dc:creator>
      <dc:date>2022-01-28T06:37:11Z</dc:date>
    </item>
  </channel>
</rss>

