THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 18/02/2003 at 21:33, xxxxxxxx wrote:
Cinema 4D Version: 8.012
Platform: Windows ;
Language(s) : C++ ;
Now I can say with certainty that there isn't a direct way to connect multiple polygonal objects into one object (per the Object Manager->Objects->Connect command), not even in the C++ SDK. I've checked every single entry in the HTML Help Index, every class, checked every example, looked through all of the API source code and resources and could find nothing remotely close to doing this. Don't even mention MCOMMAND_JOIN unless you can show working code that does this. Put another way, MCOMMAND_JOIN works with SendModelingCommand() which ONLY accepts one object - and a Parent Null Object will not suffice (try it if you don't believe me - I did). Connect requires multiple objects selected (this sounds like a broken record)...
If this has to be done the hard way (as compared to the simple way it can be done interactively), I want an algorithm. Hint: why do there seem to be no object-level commands available? I had to group my objects manually, which wasn't too difficult. But connecting them, with Texture tags, PolygonSelection tags, and whatnot, is going to be hell without some info about it. I mean, I don't have the source code to Cinema4D, so figuring out how to simulate existing operations from within the SDK is not exactly within my grasp.
Please provide a solution, thank you,