Coffee Tag -> get my own BaseTag ?



  • 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();
    }



  • 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


Log in to reply