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
    • Register
    • Login

    Getting a tag name

    Scheduled Pinned Locked Moved SDK Help
    4 Posts 0 Posters 318 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/01/2005 at 16:16, xxxxxxxx wrote:

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

      ---------
      Hi,
      First off, I'm a member of some other forums and I know how annoying those people are who register, start a new topic with a silly question, and are never heard of again. I apologize in advance.
      The question: Using COFFEE, ho do you get the name of a tag?
      This is what I have so far:

          
          
            
            
          Obj->GetFirstTag();  
          
      

      Not much, aye? I have the tag as a variable, then what? I've looked all over SDK and can't find a function to get the name.

      If you're wondering why I need the tags, I'm writing somthing that turns off tags with a certain name after a certain frame passes by.

      Thanks!

      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/01/2005 at 05:36, xxxxxxxx wrote:

        Have you tried something like this to see if the method is available?:

          
        var tag = obj->GetFirstTag();  
        println("Tag's Name: "+tag->GetName());  
        
        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/01/2005 at 12:35, xxxxxxxx wrote:

          Yes I've tried, there is no GetName() for tags.

          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/01/2005 at 13:52, xxxxxxxx wrote:

            Well, there is, but only for some of the tags derived from BaseTag by the looks of it. Looks like most of them have no access to the name field directly. You may need to use the BaseTag's BaseContainer to retrieve the name from the A.M. You'll need to know the ID of the name field in order to do this.

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