Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Cannot find procedure "setHUDBlendShapeEdit" in Maya batch mode

Cannot find procedure "setHUDBlendShapeEdit" in Maya batch mode

jiajun.coding
Advocate Advocate
385 Views
3 Replies
Message 1 of 4

Cannot find procedure "setHUDBlendShapeEdit" in Maya batch mode

jiajun.coding
Advocate
Advocate

Error: file: C:/Program Files/Autodesk/Maya2022/scripts/others/updateBlendShapeEditHUD.mel line 67: Cannot find procedure "setHUDBlendShapeEdit".

 

I'm using Maya standalone in python to process multiple files in multiple processes. I want to import some blend shape .shp files but this error occurs.

 

Anyone knows how to fix it? Maybe I should load one plugin explicitly? I know that Maya standalone needs to load some plugins by myself. But I don't know which one to load easily...

Accepted solutions (1)
386 Views
3 Replies
Replies (3)
Message 2 of 4

jiajun.coding
Advocate
Advocate

After looking more messages in script editor, I'm sure that many HUD display related UIs should be disabled by user settings. A handy work to disable them or leave them there as they should not affect anything in batch mode but looks dirty in log output.

Message 3 of 4

brentmc
Autodesk
Autodesk
Accepted solution

This looks like a bug to me so I'll log an issue for this.

A workaround would be to define a dummy proc for this in your batch script that is processing the files:

global proc setHUDBlendShapeEdit(int $visible, string $name) {}
Brent McPherson
Principle Engineer
Message 4 of 4

jiajun.coding
Advocate
Advocate
Yes. It looks like some update callback functions in different mel files need some protections not to call them in maya standalone mode. Thanks, Brent!