Restriction tag strength



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

    On 12/02/2004 at 02:21, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   8.200 
    Platform:   Windows  ;   
    Language(s) :   C.O.F.F.E.E  ;   XPRESSO  ;

    ---------
       Hi all! Could someone tell me what I´m doing wrong here. I´m trying to set the strength of a restriction tag. The tags are created but the strength is always 100%

      
    //snippet  
    ....  
      
    var con_restrictionTag1 = new(BaseContainer);  
    var con_restrictionStrength1 = new(BaseContainer);  
      
    con_restrictionTag1->SetData(RESTRICTIONTAG_NAME_01, "da bone");  
    con_restrictionStrength1->SetData(RESTRICTIONTAG_VAL_01, 70.0);//does not set the strength to 70!!!  
      
      
    ResTag1->SetContainer(con_restrictionTag1);  
    ResTagStrength1->SetContainer(con_restrictionStrength1);  
      
      
    op->InsertTag(ResTag1);  
    op->InsertTag(ResTagStrength1);  
      
    op->MultiMessage(MSG_UPDATE);  
      
    //end snippet  
    

    Thanks!



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

    On 14/02/2004 at 09:53, xxxxxxxx wrote:

    Can anyone help with the above problem?

    Thanks



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

    On 15/02/2004 at 16:07, xxxxxxxx wrote:

    70.0 = 7000%. Use 0.7 for 70%.



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

    On 16/02/2004 at 12:23, xxxxxxxx wrote:

    Yipee! Thanks Mikael


Log in to reply