Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Do someone now this?(Text spline...)

    SDK Help
    0
    8
    715
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 11/09/2003 at 10:20, xxxxxxxx wrote:

        in c++ its
        op->SetName("New Name");
         
        perhaps its the same in coffee

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          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...

          1 Reply Last reply Reply Quote 0
          • H
            Helper
            last edited by

            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

            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)

            1 Reply Last reply Reply Quote 0
            • H
              Helper
              last edited by

              THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

              On 16/09/2003 at 03:32, xxxxxxxx wrote:

              thanks..
              but..
              can you please explain it..?...

              1 Reply Last reply Reply Quote 0
              • H
                Helper
                last edited by

                THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                On 16/09/2003 at 18:33, xxxxxxxx wrote:

                Pls refer COFFEE documentation under "SplinePrimitiveObject".

                1 Reply Last reply Reply Quote 0
                • H
                  Helper
                  last edited by

                  THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                  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^^)

                  1 Reply Last reply Reply Quote 0
                  • H
                    Helper
                    last edited by

                    THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                    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);
                        
                        
                        
                    

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post