scriptsmenu icon indicating copy to clipboard operation
scriptsmenu copied to clipboard

Maya error

Open Mikfr83 opened this issue 8 years ago • 5 comments

Hello,

I have this error with maya: // Error: file: C:/Program Files/Autodesk/Maya2017/scripts/others/drInit.mel line 2573: menu: Object 'MyScripts_menu' not found. //

Mikfr83 avatar Jul 23 '17 19:07 Mikfr83

@Mikfr83 thanks for reporting this. We might be able to have a look at this next week. @aardschok could you have a look?

BigRoy avatar Aug 28 '17 08:08 BigRoy

@Mikfr83 Could you elaborate on how you got at this error? A few steps to recreate the error on my side. Thank you!

aardschok avatar Sep 04 '17 08:09 aardschok

Hello, Sorry for the delayed response! It's only appear when we use the hotbox (spacebar). With a left / right click in the north, south, center, ... zone. It's a none blocking error, but strange. Thanks in advance,

Mikfr83 avatar Sep 06 '17 12:09 Mikfr83

Hi,

Thanks for your reply, I got the same result as you with the hotbox. Currently we will leave it as it is and add will the information about the error to the README.

The error has to do with the fact that the menu is made through Qt commands and not through MEL or maya.cmds which register the menu correctly.

Keep an eye on this thread in the future, we definitely want to solve it.

Greetings

aardschok avatar Sep 06 '17 13:09 aardschok

The only way around this as far as I have found is unfortunately is to make the top menu bar entry using maya.cmds.menu as far as I can tell. We might be able to make the regular menu item in Maya, then convert that menu object to Qt and continue the rest of the work of scripts menu on that Qt instance of the menu.

But I might need to investigate that more.

BigRoy avatar Feb 09 '22 15:02 BigRoy