<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Merging files]]></title><description><![CDATA[<p dir="auto"><em><strong>THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED</strong></em></p>
<p dir="auto"><em>On 14/02/2011 at 10:37, <strong>xxxxxxxx</strong> wrote:</em></p>
<p dir="auto">Hi,<br />
I'm trying to learn how to merge another c4d file into the scene.<br />
Here's what I have so far:</p>
<pre><code>  
  
import c4d, os  
from c4d import*  
  
def main() :  
  doc = documents.GetActiveDocument()  
  path = os.path.join("/Users", "user", "Desktop", "test.c4d")   
  merge = documents.MergeDocument(doc, path, 0)  
  c4d.EventAdd()  
  
if __name__=='__main__':  
  main()  
</code></pre>
<p dir="auto">I think I have the target file loaded into memory at this point. But now I don't know how to insert it into the scene(document).</p>
<p dir="auto">-ScottA</p>
]]></description><link>http://developers.maxon.net/forum/topic/5498/5517_merging-files</link><generator>RSS for Node</generator><lastBuildDate>Tue, 11 Aug 2026 08:13:15 GMT</lastBuildDate><atom:link href="http://developers.maxon.net/forum/topic/5498.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 09 May 2018 17:51:18 GMT</pubDate><ttl>60</ttl></channel></rss>