How to apply "center axis to" command to a reference object via C.o.f.f.e.e. Node in Xpresso ?
by Mehmet Sensoy on Feb 5, 2014 at 2:55:49 pm
I'm trying to create a Xpresso Setup.
I have one spline and instance. This spline will be my reference object for instance object and users are going to be able to replace this spline with their custom splines.
In that case everything is working fine except these splines axis should be centered. I need one script to pu inside C4d Coffee Node that applies "center axis to" command to custom spline object automatically.
I have searched but I could not find anything.
From script log I have found this command : CallCommand(1011982); // Center Axis to
But I cannot find how to apply this command to my reference spline. (I guess I should use c.o.f.f.e.e. node for this since this spline option should be inter-convertible.
(I have tried to put those splines under null object but I think it is not a good solution for user since it is not practical, it should be done via script)
Please help. Thank you very much and