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

    execute Center Axis with parameters

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 276 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

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 18/05/2009 at 03:22, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R11 
      Platform:      
      Language(s) :     C++  ;

      ---------
      Hi all out there ;-}
      I want to center the Axis of all objekts to there center ;-}.
      But with CallCommand(1010819); only  the Dialogbox ist opening.

      Is ther a way to set the parameters:
      with children
      all objects
      enable auto Update
      and at last run the modification?
      Thanks to your help.
      Chears Ronny

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

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 25/05/2009 at 02:51, xxxxxxxx wrote:

        Unfortunatly the Axis Center command can't be executed through SendModelingCommand(). I am afraid you have to write your own axis center function.

        cheers,
        Matthias

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

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 03/06/2009 at 07:35, xxxxxxxx wrote:

          Quote: Originally posted by Matthias Bober on 25  May 2009
          >
          > * * *
          >
          > Unfortunatly the Axis Center command can't be executed through SendModelingCommand(). I am afraid you have to write your own axis center function.
          >
          > cheers,
          > Matthias
          >
          >
          > * * *
          ...which is a pain in the ass, because you can't "just" set the new axis (the routine needed to do that with is internal/private)... if you SetMl() on the object, the vertices get moved according to the new matrix, so you have to modify the vertices by the (inverse) delta of the old/new matrix as well.

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