THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 12/08/2003 at 02:40, xxxxxxxx wrote:
Cinema 4D Version: 7.303
Platform: Windows ;
Language(s) : C.O.F.F.E.E ;
I want to you use the function "FUNCTIONS->DUPLICATE..." I am afraid, I cannot see any documentation for this function under COFFEE. Where can I find more information (in COFFEE) like the function name to use, parameters etc?
On 12/08/2003 at 14:56, xxxxxxxx wrote:
Look at SendModelingCommands for such things. But I just noticed that dublicate is not available (not in COFFEE nor in C++) so you need to write your own duplicate function. Shouldn´t be too hard.
On 14/08/2003 at 02:37, xxxxxxxx wrote:
Samir, I have created my own duplicate function. But I found out a problem. I feel my plugin is bit slow. Especially if I want to create 17,000 objects using my duplicate plugin, it takes around 10mins!!!
But at the same time, if I use C4D's duplicate function (Functions->Duplicate) its very fast.
Is it really not possible in COFFEE to get this function? or only in the documention we cannot find?
On 14/08/2003 at 03:45, xxxxxxxx wrote:
COFFEE is much slower than C++. that´s probably the reason. It´s definetly not possible in COFFEE.
On 14/08/2003 at 05:47, xxxxxxxx wrote:
I believe the main reason could be that in C.O.F.F.E.E. you cannot turn off the name checking when inserting objects. So it turns into an O(n^2) operation instead of O(n) to insert n objects. (In C++ you set checknames to FALSE.)