Access parameter from item dropped onto tag plugin



  • 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



  • 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



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

    Thanks for letting me know Niklas.



  • 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?  
    

Log in to reply