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
    • Recent
    • Tags
    • Users
    • Login

    Access parameter from item dropped onto tag plugin

    Scheduled Pinned Locked Moved PYTHON Development
    4 Posts 0 Posters 365 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 08/04/2014 at 00:52, xxxxxxxx wrote:

      I recently saw a video on Greyscale Gorilla's new Signal plugin which has a functionality in it that I had been trying to implement into a plugin of my own for a while but just thought it wasn't possible. Seeing that video sparked up the idea again and I wanted to see if anyone on here had an clues if it is possible in python, or was a C++ functionality?

      The functionally I am referring to is whereby the user is able to click and drag a parameter (Sphere's radius for example) and drop that parameter directly onto the tag. The tag is then able to read the data, act upon it and then feed it back to the parameter. Is this possible in python? If it is I would really appreciate it if any one could point me towards it.

      Many thanks,
      James

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

        On 08/04/2014 at 06:09, xxxxxxxx wrote:

        It is c4d.MSG_DRAGANDDROP. But the data you get is not wrapped for Python, therefore not 
        possible in Python.

        Best,
        -Niklas

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

          On 08/04/2014 at 06:28, xxxxxxxx wrote:

          Thanks for letting me know Niklas.

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

            On 08/04/2014 at 09:37, xxxxxxxx wrote:

            Are you kidding me?  I am trying to do the same thing but I am utilizing

            c4d.MSG_DESCRIPTION_POSTSETPARAMETER  
              
            Would that work?  
            
            1 Reply Last reply Reply Quote 0
            • First post
              Last post