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

    Selection Tag

    SDK Help
    0
    3
    263
    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 08/11/2004 at 19:55, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   9.012 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      Hi,
      I am trying to insert a polygon selection tag in an object. I tried like this which is not working. Any guidelines for me?

          
          
          
          
                   BaseSelect* newbs;   
                   SelectionTag* tag;  
                   newbs = tag->GetBaseSelect();   
                   newbs->Select(5);   
                   BaseContainer data = tag->GetData();   
                   data.SetString(POLYSELECTIONTAG_NAME, "NewTag");  
                   obj->InsertTag(tag); 
          
          
          
      
      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 08/11/2004 at 21:20, xxxxxxxx wrote:

        FYI: I came to know that we should use Alloc() function for proper result. After I inserted Alloc when I create Tag and BaseSelect, it works fine. But still trying to find out how to change the tag name...

        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 09/11/2004 at 05:01, xxxxxxxx wrote:

          tag->SetName();

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