View Full Version : Right click menu
nottoshabi 03-05-2008, 01:39 AM Where would I find the script that deals with that action in maya?
|
|
ManuelM
03-05-2008, 04:41 AM
try the "popupMenu" command...
popupMenu -button 3;
strarup
03-05-2008, 06:28 AM
Hi Mike,
eh.. do you mean e.g. like a marking menu thingie?
e.g. like in these 2 threads?
http://forums.cgsociety.org/showthread.php?t=129226
http://forums.cgsociety.org/showthread.php?t=161952
regards
Strarup
goleafsgo
03-05-2008, 12:22 PM
Hey nottoshabi...I think what you are looking for is in dagMenuProc.mel.
If you are planning on editing this file I would make a copy of it into another scripts folder and edit the copy.
To start off you could try messing around with "optionalDagMenuProc" which is inside that file. It's called to add extra items to the marking menu you get when you right click on an object. You could take a look at the type of the $item that's passed in and do something depending on what it is.
nottoshabi
03-05-2008, 04:29 PM
Thanks Goleafsgo. I will give it a try.
CGTalk Moderation
03-05-2008, 04:29 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.