BaseTag::Alloc(Tkinematic_EX) returns nothing?



  • On 05/05/2015 at 10:47, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   R16 
    Platform:      Mac OSX  ; 
    Language(s) :     C++  ;

    ---------
    Hi,

    I'm trying to implement IK in my plugin, inside the method GetVirtualObjects().
    If I add this:

      
    BaseTag* ikTag = BaseTag::Alloc(Tkinematic_EX);  
    if (!ikTag)  
      return nullptr;  
    

    my plugin just returns nothing... so my tag is empty :(

    Does anybody know the problem here?
    I've searched the web and the SDK, but neither of them have examples for IK.

    Thanks in advance for your help and time!
    Greetings,
    Casimir Smets



  • On 05/05/2015 at 13:24, xxxxxxxx wrote:

    Hello,

    as you can read in the documentation, Tkinematic_EX is deprecated. There seems to be no proper symbol, so you have to find out the ID with GetType() which is in this case 1019561.

    best wishes,
    Sebastian



  • On 05/05/2015 at 14:25, xxxxxxxx wrote:

    Hi,

    Thanks for your answer!

    Greetings,
    Casimir Smets


Log in to reply