Oh so that means if i share the rig file that function wont be available in 
different machines we haven't edited on that pc, am i right?

thanks!

> On 01-Jul-2020, at 3:27 AM, vince touache <fruityfr...@gmail.com> wrote:
> 
> one way or another, you'd have to override the dagMenuProc from maya, which 
> is in MEL. But if you want to do it in python, nothing prevents you from 
> calling some python code inside the MEL proc, and passing the objectName, I 
> suppose. 
> 
> Run (in MEL):
> whatIs dagMenuProc
> to find the proc on your machine
> Then go to the dagMenuProc function, and from here, you can do whatever you 
> want, since the name under your cursor is given (by $object)
> 
> hope this helps
> 
> Le vendredi 19 juin 2020 00:08:18 UTC-4, Soham Parmar a écrit :
> Hi Guys,
> I wanted to make custom markingMenu button like "IK / FK Snap" whenever i RMB 
> on "IK_ctrl". I don't want that markingMenu button on other controllers.
> can anybody please help, I want to do in python.
> 
> Thanks.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to python_inside_maya+unsubscr...@googlegroups.com 
> <mailto:python_inside_maya+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/python_inside_maya/dea2503e-5a1c-46bb-9813-5b48aabe65cao%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/python_inside_maya/dea2503e-5a1c-46bb-9813-5b48aabe65cao%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/D797330B-0132-46E4-8143-E99B1CDDF716%40gmail.com.

Reply via email to