I'm definitely interested. Thanks Hugh!


On Aug 3, 2011, at 6:09 AM, Hugh Macdonald <[email protected]> wrote:

> Hi,
> 
> I've done something that's not quite what you're after, but might be of 
> interest to people... This is more to do with node creation, changing what 
> kind of node is created based on the currently viewed/selected node.
> 
> I can do this kind of thing, for example:
> 
> addContextHotkey("t", "nuke.createNode('TransformGeo')", [{'selectedType': 
> "3D"}, {'selectedType': None, 'viewedType': "3D"}])
> addContextHotkey("t", "nuke.createNode('Transform')")
> 
> So you can list a series of conditions. That first line means that 't' will 
> create a TransformGeo node if either the selected node is a 3D node, or there 
> is no selected node and the viewed node is a 3D node. Otherwise it'll create 
> a Transform node.
> 
> I can dig out the actual code if people are interested.
> 
> Hugh
> 
> 
> On 02/08/11 23:02, J Bills wrote:
>> 
>> is there any way to change a hotkey based on what tool you're using?
>> 
>> I just want to change the frame change hotkey to something more right 
>> handed-friendly when I have to do some roto or painting.
>> 
>> like Z and X for frame back/frame fwd instead of the arrow keys.  this 
>> messes with me daily.
>> 
>> anyone found a way to set that up for themselves?
>> 
>> _______________________________________________
>> Nuke-users mailing list
>> [email protected], http://forums.thefoundry.co.uk/
>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
> 
> _______________________________________________
> Nuke-users mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to