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

    Access to "Center Axis To..." Command.

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 440 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 24/08/2010 at 14:39, xxxxxxxx wrote:

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

      ---------
      Hi

      I would to be able to recall the "Center Axis to" for a selected object. I see the ID_MODELING_CENTER_TOOL command but does not work. Perhaps is not the correct way. Looking into C4D "Command tool" I see that the "Center Axis to" ID is 1011982 but this ID seems not present in the modelingids. If I direct call a sendcommand with this id the command fails.

      I've tried to search some examples around this issue but I found anything. Can you suggest to me a way? ID_MODELING_CENTER_TOOL is usefull for that? In this case I'm wrong in use it...

      Many thanks!

      Bye

      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/08/2010 at 15:06, xxxxxxxx wrote:

        This can be readed like: how I can modify the axis for an object? I've tried various combinations of sendmodelingcommand with ID_MODELING_CENTER_TOOL, MDATA_MODELING_AXIS and similar but I still have no solution...I'm a little bit confused because the position is a BaseObject properties, but not the relative axis informations...

        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 02/09/2010 at 03:08, xxxxxxxx wrote:

          Please keep in mind that the object's axis and the modeilng axis can be changed only for polyonal and spline objects. To change the object's axis  you have to shift the geometry (the points) and then set back the axis.

          To call the "Center Axis to" command you should use CallCommand(1011982).

          cheers,
          Matthias

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