GetPluginID ?



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

    On 29/11/2002 at 07:16, xxxxxxxx wrote:

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

    ---------
    Hello

    I've made an object plugin and a tag plugin. The tag plugin must identifies the object plugin. I've made it like that...(it serch if a parent is the pluginobject)

      
    // temp is the baseobject on which the tag is  
    while(temp)  
    {  
    if (temp->GetType() == Opluginobject)  
    {  
    // maybe the problem is here  
    PluginObject * p_obj = (PluginObject * )obj;  
      
    // PS_ID is the id of the pluginobject  
    if (p_obj->GetPluginID() == PS_ID)  
    {  
       GePrint("found it");  
    }  
    }  
    temp = temp->up();  
    }  
      
      
    


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

    On 29/11/2002 at 07:17, xxxxxxxx wrote:

    oops !

    p_obj->GetPluginID() returns 2
    can someone help me please ?
    Thanx



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

    On 29/11/2002 at 07:42, xxxxxxxx wrote:

    Ok i found !

    It was in the old forum !!!

    THx


Log in to reply