Yep I had a look at the command echos for that too. Looks like it's not something that gets done at script level. Wonder if the source code for the selection tool is provided so I could add a callback that executes a script and recompile it... getting over my head with this but it's worth a look :D Oh and yea I know that…
So took a looksee at what Maya does when double clicking an edge and this is what I got select -r pCube1.e[16] ; autoUpdateAttrEd; updateAnimLayerEditor("AnimLayerTab"); statusLineUpdateInputField; select -add pCube1.e[14] pCube1.e[16] pCube1.e[18:19] ; autoUpdateAttrEd; updateAnimLayerEditor("AnimLayerTab");…
Hi, I'm looking to implement a feature in a rig so that the animator can double click on a rig control and it will select all the objects below the selected one in the pickwalk hierarchy. I have all the pickwalk stuff written and I have a function which can be bound to a hotkey but I'd really like it to be able to be…
Yea exactly. What would be ideal would be a callback for double-click in the viewport... but I'm pretty sure I'm not going to be lucky enough that that exists :P Best option so far seems to be timing between selection change (scriptjob) and next click in the viewport. Not entirely sure how to go about that but I'll have a…
As far as I know, MEL seems to be flag based while what you seem to be looking for is event based (ie Actionscript) and even though there are scriptjobs, I took a look at the documentation and there was no flag for double click. Best bet would be to go the python route though Im just a beginner in MEL so maybe someone more…