Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Restriction tag strength

    SDK Help
    0
    4
    375
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      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!

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          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%.

          1 Reply Last reply Reply Quote 0
          • H
            Helper
            last edited by

            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

            1 Reply Last reply Reply Quote 0
            • First post
              Last post