constraint tag type



  • On 07/05/2015 at 05:50, xxxxxxxx wrote:

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

    ---------
    Hi,

    I want to add a constraint tag to my plugin.
    It works with BaseTag::Alloc(1019364) but I'd rather use something like Tconstraint, if possible.
    My only problem is, I can't find it in the SDK.

    Is it simply not there, and is the only way with 1019364?
    Thanks in advance for your help and time!
    Greetings,
    Casimir Smets



  • On 07/05/2015 at 06:54, xxxxxxxx wrote:

    Hi,

    CA tags types aren't defined in the API. But you can just declare TCAconstraint in your code like this:

    #define TCAconstraint             1019364
    


  • On 07/05/2015 at 08:19, xxxxxxxx wrote:

    Hi Yannick,

    Thanks for your answer!
    I guess I can do exactly the same for the IK tag?

    Greetings,
    Casimir Smets



  • On 07/05/2015 at 09:04, xxxxxxxx wrote:

    Originally posted by xxxxxxxx

    I guess I can do exactly the same for the IK tag?

    Sure.


Log in to reply