On 01/12/2016 at 03:31, xxxxxxxx wrote:
I created a thread as asked in the thread => https://plugincafe.maxon.net/topic/9829/13235_interaction-tag-change-tool
But I will re-explain what I want to achieve.
I want to change the action depending of the key pressed during the selection on an object.
I firstly thinked about interaction tag. But we can't change the actual doc so we can't change the current action.
I thinked about 2 plugin. One tag plugin wich allow to select which object will react like that and maybe allow user to change the action ID.
And another message plugin which gonna look for MSG_EDIT for know the change on the document (aka selection change maybe there is another way for know it).Or just a timer to check if the selection as changed... Then check if the current object selected got the tag and then change the action.
But I still don't know how to know which key are pressed during the selection...
So my ask is what is the best way for doing what I want to do?
Btw I'm not sticky to python if the only way is C++ then it's ok but I prefer to code it in python.
Thanks in advance.
EDIT: Looking a bit the c++ sdk and a scene hook + tag plugin for define which one seem to be a good solution.