On 04/04/2014 at 12:50, xxxxxxxx wrote:
So I have an object in a Link box in the GUI of my tag plugin that once the user has dragged an object into I want to get the y value of that position.
I am doing processing in the "Execute" function of the inherited "plugins.TagData" class but it is getting the value everytime.
Where should I add the code to get the object's y position the first time the user drags an object to the link box? Should I put it in the "Message" function and use the "type" parameter via
if type==c4d. _MSG_DRAGANDDROP_ :
If so it doesn't seem to be working. Any guidance would be very helpful, thanks!
Jimmy