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

    Dragging a tool in the editor

    SDK Help
    0
    3
    276
    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 16/06/2014 at 07:56, xxxxxxxx wrote:

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

      ---------
      I have my DescriptionToolData plugin already showing a circle around the cursor as I move in the editor.
      I can control the radius of the circle using a slider in the Attribute Manager.
      But, I can't drag the circle in the editor.
      I mean, it moves when I move the cursor. But when I keep the mouse pressed, the cursor moves but the circle remains in the location it was when the mouse was clicked.
      How can I make it follow the cursor, even when the mouse button is pressed?

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

        On 17/06/2014 at 06:53, xxxxxxxx wrote:

        Howdy,

        Add a DrawViews() call inside the while() loop.😉

        Adios,
        Cactus Dan

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

          On 17/06/2014 at 10:53, xxxxxxxx wrote:

          Thank you, Dan.
          That is already working.
          Now I just can't get any information from GetPixelInfoPoint 😞

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