THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 09/06/2009 at 14:24, xxxxxxxx wrote:
Cinema 4D Version: r11
Platform: Windows ;
Language(s) : C++ ;
i have read thru the different threads here concerning joining objects. but dont get it to work.
what i am doing is loading a document :
BaseDocument* doc2 = LoadDocument(fileName,0L, NULL);
and after selecting some objects via
doc- >SetActiveObject(child, SELECTION_ADD);
i want to connect them with
i also tried to use SendModelingCommand MCOMMAND_JOIN, but that needs to have a group of subobjects, too, which i dont have in my base scene and CallCommand(100004772); doesnt work, too. the objects remain ungrouped.
any ideas, hints??
thanks and cheers,
On 12/06/2009 at 01:31, xxxxxxxx wrote:
anyone? i still had no success with this. must be something general i guess, but i just have no idea where to look
On 12/06/2009 at 15:47, xxxxxxxx wrote:
I did further tests but still cant get it.
this should connect all objects in the document (at least from my understanding) but doesnt work:
and this should create a group from all objects:
On 13/06/2009 at 03:06, xxxxxxxx wrote:
ok, i found out that i first had to ensure that the document was active. now i group all objects, select the parent and CallCommand(12144), but all i get is a polygonobject with no polygons??
anyone have an idea what could cause this?
thanks in advance,
On 13/06/2009 at 05:09, xxxxxxxx wrote:
i did it now with SendModelingCommand MCOMMAND_JOIN, but i still like to know why CallCommand(12144) doesnt do it?
On 15/06/2009 at 08:07, xxxxxxxx wrote:
Connect only works with polygon objects and editable splines.