Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    c4d.ID_MODELING_AXIS Not Valid

    Scheduled Pinned Locked Moved Bugs
    2 Posts 0 Posters 535 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

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

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

      ---------
      As written to the SDK https://developers.maxon.net/docs/py/2023_2/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.

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post