Hello guys! I know how to merge a scene with a current project. But i have no idea how to insert scene under parent with coordinats of this parent.
I want to create custom nulls thats why i want to it. What should i add in this code if i want insert scene under object?
import c4d
def main():
doc.StartUndo() # Start recording undos
path = "C:\Users\Jamaletdinov.r\Desktop\ArrowR.c4d"
flags = c4d.SCENEFILTER_OBJECTS | c4d.SCENEFILTER_MATERIALS | c4d.SCENEFILTER_MERGESCENE
c4d.documents.MergeDocument(doc, path, flags)
c4d.EventAdd()
doc.EndUndo()
if __name__=='__main__':
main()