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

    Coffee Tag -> get my own BaseTag ?

    Scheduled Pinned Locked Moved SDK Help
    2 Posts 0 Posters 174 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 07/12/2006 at 02:49, xxxxxxxx wrote:

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

      ---------
      when my coffee tag code is executed:
      how do i get my own BaseTag (myself) ?

      if the tagged object has only 1 coffee tag the code below works,
      but there should be a better solution for this !! any help !?

      var tag = op->GetFirstTag();
      while(tag)
      {
           if(tag->GetType()==5675) { break; } // 5675 = Coffee tag
           tag=tag->GetNext();
      }

      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 07/12/2006 at 03:48, xxxxxxxx wrote:

        If you want to hit a specific coffe tag you can name them differently and add the name for searching.
        But if you need more than one tag, I'd say it's much better to get a ID at PluginCafe and have your own unique ID to search for.
        You would then use coffe expression tag plugins instead.
        There is a included "empty" frame work in the SDK documentation with notes for each part what to fill in to make it run.

        Lennart

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