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
    • Recent
    • Tags
    • Users
    • Login
    The Maxon SDK Team is currently short staffed due to the winter holidays. No forum support is being provided between 15/12/2025 and 5/1/2026. For details see Maxon SDK 2025 Winter Holidays.

    How to get Modeling Axis? [SOLVED]

    Scheduled Pinned Locked Moved SDK Help
    4 Posts 0 Posters 461 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/06/2015 at 11:14, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R16 
      Platform:      Mac OSX  ; 
      Language(s) :     C++  ;

      ---------
      Hi,

      How should I get the Modeling Axis?
      I thought it would be as simple as this:
      Matrix modelingAxis = GetModelingAxis(doc);
      But then I get the issue: Use of undeclared identifier 'GetModelingAxis'

      I've searched the SDK examples and the forum, but couldn't find anything with GetModelingAxis.

      Thanks in advance for your help and time!
      With kind regards,
      Casimir Smets

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

        On 18/06/2015 at 11:27, xxxxxxxx wrote:

        GetModelingAxis is a member function of the BaseObject class so I think you need to do like this:

          
        BaseObject *myObject = doc->GetActiveObject();   
        Matrix modelingAxis = myObject->GetModelingAxis(doc);   
        

        Cheers
        Bonsak

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

          On 19/06/2015 at 05:48, xxxxxxxx wrote:

          Hi Bonsak,

          That was what I was looking for, thanks for your answer!

          Greetings,
          Casimir Smets

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

            On 19/06/2015 at 06:59, xxxxxxxx wrote:

            Just to have everything in one place:
            Here's the documentation of GetModelingAxis().

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