I'm having some issue with exporting an ass file using CallCommand(). I can export all, but when I try to export selected with children, it doesn't seem to want to export children. The script runs, writes a file. But is just the parent-most object, and (oddly) one shader that is attached to one of the children?
def writeAss(self, system, asset): #Container for the options options = c4d.BaseContainer() #name the ass file options.SetFilename(0, asset['ass_path']) #GZIP options.SetBool(1,False) #Bounds Export options.SetBool(2,True) #Binary Encoding options.SetBool(3,True) #Procedural Expand options.SetBool(4,False) #Start/End Frames options.SetInt32(6, 0) options.SetInt32(7, 0) #Only Selected options.SetInt32(11, 1) #Replace with Procedural options.SetBool(12,False) #Export Heirarchy options.SetBool(13, True) doc.GetSettingsInstance(c4d.DOCUMENTSETTINGS_DOCUMENT).SetContainer(ARNOLD_ASS_EXPORT, options) c4d.CallCommand(ARNOLD_ASS_EXPORT)