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 11/09/2003 at 09:30, xxxxxxxx wrote:
User Information: Cinema 4D Version: 8.100 Platform: Windows ; Language(s) : C.O.F.F.E.E ;
--------- hi^^ How can i edit the Text in the Texspline with Coffee? example: (text in textspline is "1") var calc; calc = op->GetText();//here i want to replace "Gettext" with the real word, i need... calc = calc +1; op->SetText(calc);// || look at the other message do you understand my problem..? i don't now the Keyword to put the Text in a variable..and back... Thanks a lot, for Help... Chris
On 11/09/2003 at 10:20, xxxxxxxx wrote:
in c++ its op->SetName("New Name"); perhaps its the same in coffee
On 11/09/2003 at 10:24, xxxxxxxx wrote:
i mean.. that's not the thing i want.. i don't know the key word for "GetText" or something.. i want to Get the Text of the Text Object.. not change the Name... Thanks...
On 16/09/2003 at 01:26, xxxxxxxx wrote:
Try this one: var bc=Obj->GetContainer(); bc->GetData(PRIM_TEXT_TEXT); (This one is in 7.3 I dont know about R8)
On 16/09/2003 at 03:32, xxxxxxxx wrote:
thanks.. but.. can you please explain it..?...
On 16/09/2003 at 18:33, xxxxxxxx wrote:
Pls refer COFFEE documentation under "SplinePrimitiveObject".
On 17/09/2003 at 05:13, xxxxxxxx wrote:
and how do i write in the text spline? (in the box, where i can write the text in..) Chris (sorry...newbie^^)
On 17/09/2003 at 19:11, xxxxxxxx wrote:
var bc=Obj->GetContainer(); var txt = bc->GetData(PRIM_TEXT_TEXT); // To get data from the text object bc->SetData(PRIM_TEXT_TEXT, "Text Value"); // To assign value to the text object Obj->SetContainer(bc);