Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python 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

    Protect position only?

    SDK Help
    0
    1
    139
    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

      On 13/11/2013 at 14:17, xxxxxxxx wrote:

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

      ---------
      Hi,
      I use this to add / remove protection of an object

      void MyClass::FooProtection(BaseObject* foo, Bool protect)
      {
          foo->ChangeNBit(NBIT_PROTECTION, protect ? NBITCONTROL_SET : NBITCONTROL_CLEAR);
      } 
      

      but I would very very much like to protect of positioning and scaling, and allow rotation. Can this be achieved without using a PSR Protection tag? I guess not (I have look in the SDK) but if , I would make a happy dance of joy..

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