How to get object modeling axis and set it as object axis in Cinema 4D using Python
tutorial Source codeTag: axis
Cinema 4D Python: Best way to use Center Object Axis
How to manipulate point objects axis in Cinema 4D scene with Python
Check out source code and links