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

    Tag Plugin - Doubleclick Tag

    Scheduled Pinned Locked Moved PYTHON Development
    2 Posts 0 Posters 246 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 03/08/2016 at 03:33, xxxxxxxx wrote:

      Hi all,

      is there a way to capture input events on a tag's icon, like doubleclicks? Similar to the Texture Tag that forwards to the associated Material when being double clicked, I'd like to call a function inside the tag plugin when double clicked.

      Michael

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

        On 04/08/2016 at 01:25, xxxxxxxx wrote:

        Hi Michael,

        well, you can't capture the input events, in the sense of all different kinds of input events.
        The double click on the icon of a BaseList2D based entity (objects, tags,...) is available though. In "SDK speak" it's called the edit action and results in MSG_EDIT (in C++ docs, there's some more info and a small snippet which should be easy to convert to Python).
        You can also initiate the edit action by calling Edit() on your tag.

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