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
    • Recent
    • Tags
    • Users
    • Login
    The Maxon SDK Team is currently short staffed due to the winter holidays. No forum support is being provided between 15/12/2025 and 5/1/2026. For details see Maxon SDK 2025 Winter Holidays.

    Primitive Text Object

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 299 Views
    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 Offline
      Helper
      last edited by

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

      On 27/07/2003 at 22:35, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   7.303 
      Platform:   Windows  ;   
      Language(s) :   C.O.F.F.E.E  ;

      ---------
      Hi,
      I want to change the text string value of a Primitive Text Object. I used the following code.

          
          
          
          
          if(vObj->GetPrimitiveType()==1017) // if TEXT Object  
          {  
             var bc=vObj->GetContainer();  
             bc->SetData(PRIM_TEXT_TEXT, "Change");  
             vObj->SetContainer(bc);  
          }  
          GeEventAdd(DOCUMENT_CHANGED);
          
          
          
          
          GeEventAdd(REDRAW_ALL);  
          
      

      Even though I use GeEventAdd(), I cannot see the new text, still it shows the old text. But from the object manager when I check, it has changed the text with new one. What could be the problem?

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

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

        On 28/07/2003 at 06:00, xxxxxxxx wrote:

        did you try vObj->Message(MSG_UPDATE); ?
        I´m kind rusty concerning COFFEE but it should work 🙂

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

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

          On 28/07/2003 at 20:36, xxxxxxxx wrote:

          Yes, it works now.
          Thanks Samir.

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