THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/05/2008 at 05:10, xxxxxxxx wrote:
I'm very new in the world of COFFEE. I'm working on some small plugins for cinema 4D.
Now i'm at a point where can't find a solution for my problem. I searched in the forum an in the sdk but i couldn't find an example for my problem.
I create with the plugin a Lathe Nurb and a Spline. Then i put the spline into the lathe. For smoothing i add a phong tag to my lathe nurb.
My problem is, how can change the subdivison of the lathe nurb via coffee, so that it looks more roundly.
//vObj is my created Spline
lathe = AllocObject(Olathe);
var tag = AllocTag(Tphong);
Thx for your help!
On 26/05/2008 at 01:59, xxxxxxxx wrote:
Just set the subdivision description parameter.
lathe#LATHEOBJECT_SUB = some_integer_value;
btw. GeEventAdd() has been replaced by EventAdd()