Scripting/Parsing Apple Motion 5 .motn files
<p>I'm new to animating and I've started using Apple Motion 5</p>

<p><a href="http://www.apple.com/au/final-cut-pro/motion/" rel="nofollow">http://www.apple.com/au/final-cut-pro/motion/</a></p>

<p>The interface can be a bit annoying by not letting me do things in bulk or automate things. Since it saves files in a nice xml format I've been kinda hacking it to do things I like.</p>

<p>e.g setting Fixed Resolution off for hundreds of assets wasn't possible in the app without doing each one manually so I wrote a short script to find and replace this line in the file setting value to 0</p>

<pre><code>&lt;parameter name="Fixed Resolution" id="113" flags="8606711808" default="1" value="0"/&gt;
</code></pre>

<p>Are there any python libraries that parse/script .motn files? (other than generic xml parsers)</p>

<blockquote>
  <p>Try <code>Awesome Python</code> at <a href="https://github.com/vinta/awesome-python" rel="nofollow">https://github.com/vinta/awesome-python</a></p>
  
  <p>Maybe you'll find there what you're looking for.</p>
  
  <p>But if you really want to use cool app try <strong><em>The Foundry Nuke</em></strong> or <strong><em>Blackmagic Fusion</em></strong> instead of Apple Motion or Adobe After Effects. Nuke and Fusion are node-based flexible and powerful compositing applications that support python scripting and programming. There are non-commercial free versions:</p>
</blockquote>

<p><a href="https://www.thefoundry.co.uk/products/nuke/" rel="nofollow">https://www.thefoundry.co.uk/products/nuke/</a></p>

<p><a href="https://www.blackmagicdesign.com/products/fusion" rel="nofollow">https://www.blackmagicdesign.com/products/fusion</a></p>

<blockquote>
  <p>Â¡Hope this helps!</p>
</blockquote>

python animation xml-parsing finalcut