Protect position only?

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