On 02/12/2016 at 13:21, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 18
Platform: Mac ;
Language(s) : PYTHON ;
---------
Hi,
there seems to be an issue with c4d.utils.SendModelingCommand() using MCOMMAND_JOIN as command ID in Release 18.048.
import c4d
from c4d import gui
#Welcome to the world of Python
def main() :
olist = doc.GetActiveObjects(c4d.GETACTIVEOBJECTFLAGS_0)
settings = c4d.BaseContainer() # Settings
res = c4d.utils.SendModelingCommand(command = c4d.MCOMMAND_JOIN,
list = olist,
bc = settings,
doc = doc)
doc.InsertObject(res[0].GetClone())
c4d.EventAdd()
if __name__=='__main__':
main()
While with Release 17 the results are as expected. SMC connects all selected objects.
In R18.028 the result contains only one object of the selected object.
Greets
Peter