Home Technical Talk

Maya - custom marking menu with hotkey not working

Tzur_H
polycounter lvl 9
Offline / Send Message
Tzur_H polycounter lvl 9
Hey all

I've made a custom marking menu with a hotkey for it..but it doesn't seem to work :\

I'd appreciate the help figuring what's wrong :]

This is "userHotkeys.mel" file:
//Maya Preference 2015 (Release 1)
//
//

hotkey -keyShortcut "1" -ctl -releaseName ("Modeling_ReleaseNameCommand");
hotkey -keyShortcut "1" -ctl -name ("Modeling_PressNameCommand");

This is "userNamedCommands.mel"
//Maya Preference 2015 (Release 1)
//
//

nameCommand
	-annotation "Modeling_PressNameCommand"
	-sourceType "mel"
	-command ("Modeling_Press")
	Modeling_PressNameCommand;

nameCommand
	-annotation "Modeling_ReleaseNameCommand"
	-sourceType "mel"
	-command ("Modeling_Release")
	Modeling_ReleaseNameCommand;

nameCommand
	-annotation "Modeling_R_ReleaseNameCommand"
	-sourceType "mel"
	-command ("Modeling_R_Release")
	Modeling_R_ReleaseNameCommand;


I've called my marking menu "Modeling"

Replies

Sign In or Register to comment.