Finding my Plug-in Tag



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

    On 03/06/2003 at 07:55, xxxxxxxx wrote:

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

    ---------
    I have build a tag plug-in and would like to retrieve its settings from objects to which I've attached it. My idea was to call

      
    pointerToSomeObject->GetTag(type)  
    

    with "type" set to the ID number of my plug-in. But that doesn't find anything (result == NULL). Using the constant namend Tplugin as value of type doesn't work either. Any suggestions?

    Thanks in advance.

    Regards,
    Joern



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

    On 07/06/2003 at 09:27, xxxxxxxx wrote:

    Hi,
    my solution was plugintag=BaseObject->GetTag(

    Tplugin, nr
    

    ) and after that  plugintag->GetName. Then you can compare the tag name with your name.
    Hope it help and isn't too late
    Cathleen



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

    On 07/06/2003 at 13:08, xxxxxxxx wrote:

    Well, that seems a bit unsafe to me? The user might edit the name ...

    I guess how to find one's "own" objects is a very basic question not only concerning tags. I'll start a new thread. See you there ;-)

    Regards,

    Joern


Log in to reply