On 19/05/2017 at 09:47, xxxxxxxx wrote:
I'm working on a script to merge a file into my scene. I have polygon objects with materials assigned to them, but when I import using SCENEFILTER_OBJECTS (flag 1), it only imports the objects, not the materials. The SDK says it should import the objects "and associated items, such as materials used". Am I missing something?
Here's what I'm using:
from c4d import gui
#Welcome to the world of Python
def main() :
c4d.documents.MergeDocument(doc, resourceFile, 1)