I found this C++ code to retreive the Axis State of C4D
axisstate.x = doc->GetData(DOCUMENTSETTINGS_GENERAL).GetBool(DOCUMENT_STATEX) ? 1 : 0;
I am trying to translate this to python including the weird syntax of ? 1:0
what does this do ? Set True to 1 and false to 0 ?
The Documentation only gave me this which didn't enlighten me.
Thank you for your time.
mogh