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

    Set Active Tool

    Scheduled Pinned Locked Moved PYTHON Development
    4 Posts 0 Posters 462 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 27/05/2017 at 18:50, xxxxxxxx wrote:

      Hi,forums.

      maybe a stutip question,how to set active tool (Add Guides tool)via python?  I know there is a way ,which is use "c4d.CallCommand(1017640)",but I don't want to use this way,is there another way to achieve this?Thank you very much!

      Best Wishes!
      Ching.

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

        On 28/05/2017 at 02:42, xxxxxxxx wrote:

        doc.SetAction(1017640)

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

          On 29/05/2017 at 02:37, xxxxxxxx wrote:

          Hi,

          just chiming in to add a few documentation links  for those interested in a few more details:
          API reference: BaseDocument.SetAction()
          And the BaseDocument manual in C++ docs also contains some useful information on the active tool.

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

            On 29/05/2017 at 07:54, xxxxxxxx wrote:

            Thanks all. is very useful for me.

            Best Wishes!
            Ching

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