dagMenuProc

237 views
Skip to first unread message

Sridhar M

unread,
Jul 25, 2022, 6:56:05 AM7/25/22
to Python Programming for Autodesk Maya
Hello Guys, Please help me with the problem
// Error: line 1: Cannot find procedure "dagMenuProc".

// Error: file: C:/Program Files/Autodesk/Maya2023/scripts/others/buildObjectMenuItemsNow.mel line 140: Cannot find procedure "dagMenuProc".

whenever i using right click and drag option in object mode, i got this error message.

Justin Israel

unread,
Jul 25, 2022, 5:40:02 PM7/25/22
to python_in...@googlegroups.com
There should be a dagMenuProc.mel file in the same directory as  buildObjectMenuItemsNow.mel 
Within that file it should be defining "global proc dagMenuProc"
Those two factors mean that maya should have automatically loaded and defined dagMenuProc, as it sources all of the mel files and exports all global procs to make them available between mel scripts.


--
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_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/48ec0d68-fa62-4f2e-a097-d3a78f393f7dn%40googlegroups.com.

Sridhar M

unread,
Jul 26, 2022, 2:08:16 AM7/26/22
to python_in...@googlegroups.com
Hello Justin,

Thanks for your email, I checked the directory and dagMenuProc.mel file. It is set to global and in the same directory as the buildObjectMenuItemsNow.mel but still I'm facing the same issue do let me know if there are any other things I could do or check.

Thanks Again

Regards,
Sridhar M

You received this message because you are subscribed to a topic in the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/python_inside_maya/lTdBfrtrCho/unsubscribe.
To unsubscribe from this group and all its topics, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA1XdM4-8uGWRP2E%2BsHbfCp-HJ4mpx9L776BuAyRKbjObw%40mail.gmail.com.

Justin Israel

unread,
Jul 26, 2022, 2:24:53 AM7/26/22
to python_in...@googlegroups.com


On Tue, 26 Jul 2022, 6:08 pm Sridhar M, <sridharsr...@gmail.com> wrote:
Hello Justin,

Thanks for your email, I checked the directory and dagMenuProc.mel file. It is set to global and in the same directory as the buildObjectMenuItemsNow.mel but still I'm facing the same issue do let me know if there are any other things I could do or check.

Thanks Again

Regards,
Sridhar M

If things are where they should be then I don't have any other suggestions other than maybe a 2023 bug loading Mel procs? 
Or something else being loaded and messing with things. Maybe someone with Maya 2023 can comment. 


On Tue, Jul 26, 2022 at 3:10 AM Justin Israel <justin...@gmail.com> wrote:


On Mon, Jul 25, 2022 at 10:56 PM Sridhar M <sridharsr...@gmail.com> wrote:
Hello Guys, Please help me with the problem
// Error: line 1: Cannot find procedure "dagMenuProc".

// Error: file: C:/Program Files/Autodesk/Maya2023/scripts/others/buildObjectMenuItemsNow.mel line 140: Cannot find procedure "dagMenuProc".

whenever i using right click and drag option in object mode, i got this error message.

There should be a dagMenuProc.mel file in the same directory as  buildObjectMenuItemsNow.mel 
Within that file it should be defining "global proc dagMenuProc"
Those two factors mean that maya should have automatically loaded and defined dagMenuProc, as it sources all of the mel files and exports all global procs to make them available between mel scripts.


--
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_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/48ec0d68-fa62-4f2e-a097-d3a78f393f7dn%40googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/python_inside_maya/lTdBfrtrCho/unsubscribe.
To unsubscribe from this group and all its topics, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA1XdM4-8uGWRP2E%2BsHbfCp-HJ4mpx9L776BuAyRKbjObw%40mail.gmail.com.

--
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_m...@googlegroups.com.

Marcus Ottosson

unread,
Jul 26, 2022, 5:56:11 AM7/26/22
to Python Programming for Autodesk Maya
I can right-click + drag in Object Mode with Maya 2023 on Windows. Unclear what or why you're seeing that error. A bad install? Bad user permissions on files where it's installed?

Sridhar M

unread,
Jul 26, 2022, 7:03:23 AM7/26/22
to python_in...@googlegroups.com
Thank you all,
The issue has been resolved seems there were some old plugin scripts from the previous versions that cause the issue. I deleted those files now it's working.

Thanks again for your help,

regards.
Sridhar m

Reply all
Reply to author
Forward
0 new messages