Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 07/09/2005 at 05:34, xxxxxxxx wrote:
User Information: Cinema 4D Version: 9.102 Platform: Windows ; Language(s) : C.O.F.F.E.E ;
--------- Hi,
i tried to create a Spline with COFFEE but it doesn´t work. It creates the Spline in the object-window, but the spline has no points(data)
Can anyone help me!
Here is what i have so far:
/ creating a new splineobject var meinSpline; if (!(meinSpline = AllocObject(Ospline))) return FALSE; var document = GetActiveDocument(); StatusSetText("Spline was added"); if (!document->InsertObject(meinSpline,NULL,NULL)) return FALSE; meinSpline->SetPoint(0,vector(0,0,0)); meinSpline->SetPoint(1,vector(100,0,0)); meinSpline->SetPoint(2,vector(100,100,0)); meinSpline->SetPoint(3,vector(100,0,100)); meinSpline->SetPoint(4,vector(0,0,100)); EventAdd();
On 07/09/2005 at 06:15, xxxxxxxx wrote:
You need to send a "VariableChanged" message. See this 'old' message for code:
NewPolygonObject