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

    Can a tag have a draggable handle?

    SDK Help
    0
    3
    308
    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
      Helper
      last edited by

      On 27/04/2016 at 14:34, xxxxxxxx wrote:

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

      ---------
      Howdy,

      Is is possible for a tag to display a draggable handle in the viewport?

      Adios,
      Cactus Dan

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

        On 28/04/2016 at 00:23, xxxxxxxx wrote:

        Hi Dan,

        There's no easy solution to get a draggable handle into a TagData.
        I think you could develop a SceneHookData to do the Input and Drawing stuff:
        - In MouseInput() check for the Handle move
        - In Draw() display the Handle with bd.DrawHandle()
        - BTW Only do this if the active tag is your custom tag

        For inspiration look at this blog post[URL-REMOVED] on developers.maxon.net


        [URL-REMOVED] @maxon: This section contained a non-resolving link which has been removed.

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

          On 28/04/2016 at 06:41, xxxxxxxx wrote:

          Howdy,

          Thanks.

          Adios,
          Cactus Dan

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