Hi all,
Is there any way to disable a menu in Maya using MEL cmd? For example, I don't want a user to create a curve using Create->CV Curve tool, this menu should be disabled (however shown) under Create menu.
Thank you for any reply.
Lightboxer
Hi all,
Is there any way to disable a menu in Maya using MEL cmd? For example, I don't want a user to create a curve using Create->CV Curve tool, this menu should be disabled (however shown) under Create menu.
Thank you for any reply.
Lightboxer
CODE
menuItem -en 0 -label (uiRes("m_ModCreateMenu.kCreateCVCurveTool"))
-annotation (getRunTimeCommandAnnotation("CVCurveTool"))
-image "curveCV.xpm"
-command ("CVCurveTool")
-dragDoubleClickCommand ("CVCurveToolOptions");
Autodesk\Maya2008\scripts\startup\ModCreateMenu.mel check here for more info