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

    Echo All Commands in Script Log

    Scheduled Pinned Locked Moved PYTHON Development
    4 Posts 0 Posters 638 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 16/10/2017 at 20:55, xxxxxxxx wrote:

      Hi,

      I'm not a power-user of scripting as such I rely on the Script Log to automate. There are, however, instances that some commands do not appear in the script log such as execute on the Axis Center Dialog Box. (For this example, I was trying to create a script to move the axis center of any object at -100% immediately).

      I also asked this question not too long ago but it only involves tag.

      Thank you for your time.

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

        On 17/10/2017 at 00:58, xxxxxxxx wrote:

        Sadly there is no way for using the Axis Center Dialog tool in python or even in C++. Which would be a good features request 😛 So you have to do it yourself.
        Some good read Matrix Fundamentals, Modify Axis

        Anyway I have done this plugin which do exactly what you want (and a litlle bit more since it's support spline, and some extra object like null, extrude, sweep and so on).
        Not that the orientation is set by the current world rotation. So by selecting a polygon then use Align Work plane, apply my plugin will result to have the object in the same rotation of the polygon selection 😉

        The code is not the cleaner one, since it's one of my first plugin, but if you missunderstand anything do not hesitate to tell me.

        Anyway welcome here and I hope it's help.

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

          On 17/10/2017 at 01:26, xxxxxxxx wrote:

          Hi gr4ph0s! Thanks for the help! Your plug-in works as expected 🙂

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

            On 17/10/2017 at 07:25, xxxxxxxx wrote:

            Hi btbentraje,

            welcome to the Plugin Café forums 🙂

            Currently only certain commands get reflected in the Script Log. Unfortunately that's how it is. There are no configuration options and there's nothing a plugin could do about it. Sorry.

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