Hey guys, i have a script which uses the c4d.utils.SendModelingCommand until recently this returned a list to me. https://developers.MAXON.net/docs/Cinema4DPythonSDK/html/modules/c4d.utils/index.html#c4d.utils.SendModelingCommand
This function either returns a boolean, or a list. Up until R21 the following code returned a list to me. But as of S22 i get returned the bool true, which signifies it ran succesfully, but i cant seem to retrieve the list.
Any help on how i can get the list ( by passing a parameter or anything else ) would be appreciated.
Heres the related snippet of my code
selId =  sel = op.GetPolygonS() for index, selected in enumerate(sel.GetAll(polyCnt)): if not selected: continue selId.append(index) allPolys = [n for n in allPolys if n not in selId] settings = c4d.BaseContainer() res = utils.SendModelingCommand(command = c4d.MCOMMAND_SPLIT, list = [op], mode = c4d.MODELINGCOMMANDMODE_POLYGONSELECTION, bc = settings, doc = doc)
after running this script, res is now true instead of a List
many thanks in advance.