On 18/11/2016 at 03:04, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   R17 
Language(s) :       PYTHON  ;

As written to the SDK https://developers.maxon.net/docs/Cinema4DPythonSDK/html/modules/c4d.documents/BaseDocument/index.html?highlight=setmode#BaseDocument.IsAxisEnabled

But c4d.CallCommand(c4d.ID_MODELING_AXIS) is egual to 200000087 since his real value must be 12102

Tested on R18 too and buggy.

On 21/11/2016 at 09:18, xxxxxxxx wrote:

You are right, the code snippet in the docs is wrong. ID_MODELING_AXIS is the wrong ID in this case.
And unfortunately there is no ID defined for toggling the axis mode, so you will have to use the numeric value for now.
We will address both of these issues in one of the next releases.