THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 14/10/2012 at 05:02, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 13
Platform: Windows ;
Language(s) : C++ ;
---------
hi,
I want to chage value of Preferences
BaseContainer bc = GetWorldContainer();
LONG ss = bc.GetLong(WPREF_CAMERAROTATION);
GePrint(LongToString(ss));
bc.SetLong(WPREF_CAMERAROTATION,WPREF_CAMERAROTATION_OBJECT);
SetWorldContainer(bc);
ss = bc.GetLong(WPREF_CAMERAROTATION);
GePrint(LongToString(ss));
It does not work properly.