Merging files
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 14/02/2011 at 10:37, xxxxxxxx wrote:
Hi,
I'm trying to learn how to merge another c4d file into the scene.
Here's what I have so far: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()
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).
-ScottA