Hi gogeta, thanks for following up.
With regard to what suggested by @s_bach I confirm it's actually working without any hassle in the code snippet below.
BaseObject* activeObj = doc->GetActiveObject();
if (!activeObj || !activeObj->IsInstanceOf(Ocamera))
DiagnosticOutput("No camera selected");
ROTATIONORDER rotOrder = activeObj->GetRotationOrder();
DiagnosticOutput("current camera rotation order: @", rotOrder);
rotOrder = activeObj->GetRotationOrder();
DiagnosticOutput("new camera rotation order: @", rotOrder);
With regard to your case, would also great if you could better elaborate:
I am trying to rotate the camera order inside User Area functions.
Last but not least, it would be very handy to check the code you're using or at least to discuss the design you're implementing to better understand what's wrong. If you don't feel safe to share here consider to send an email to [email protected].