Maya 2018 // Error: line 1: Cannot find procedure "createBlendShapePanelMenu". //

adnanmg
Advocate
Advocate

Maya 2018 // Error: line 1: Cannot find procedure "createBlendShapePanelMenu". //

adnanmg
Advocate
Advocate

Hi,

 

running Maya 2018 on Win 10 64 bit, I'm getting this error when I load a file with blendshapes that was created in 2018 also.

 

Maya 2018 // Error: line 1: Cannot find procedure "createBlendShapePanelMenu". //

 

It just comes up every time, maybe once for each blendshape in the scene , then pops up the blendshape panel and the scene loads fine, but it takes a much longer time, going through all of those errors. Any idea what's up?

 

Thank you,

 

Adnan

Reply
Accepted solutions (1)
3,154 Views
8 Replies
Replies (8)

adnanmg
Advocate
Advocate

I reinstalled maya, then I got the attached error. It is a syntax error. Once I fix it, I get the Re: Maya 2018 // Error: line 1: Cannot find procedure "createBlendShapePanelMenu". //

 

adnanmg_0-1595956456634.png

 

Any ideas? I don't even need that panel menu...! I just need my files to load faster.

 

Adnan

 

0 Likes

adnanmg
Advocate
Advocate

With the syntax error fixed (strange that it had a syntax error), it still takes a long time to load the file (without errors now), but for each blendshape it flashes the blendshape panel window...Has anyone else experienced this and found a fix?

 

Adnan

0 Likes

adnanmg
Advocate
Advocate

sorry, here is the file. it failed to upload previously.

0 Likes

mspeer
Consultant
Consultant

Hi!

 

The problem has nothing to do with your Maya version or with BlendShapes in general.

The  problem is a totally messed up scene-file.

There are about

- 500 similar script nodes that get executed when loading your scene.

Example (that's your flicker):

if(`window -exists bpWindow`){deleteUI bpWindow;}; window -rtf 0 -title \"Blend Shapes\" bpWindow;frameLayout -lv 0;blendShapePanel;window -edit -widthHeight 250 350 -tlc 200 200 bpWindow; showWindow bpWindow;";

- 6600 renderLayerManager nodes

...and more.

 

I recommend to clean up the scene, then the problem is gone.

0 Likes

adnanmg
Advocate
Advocate

Phew. That is a relief. Thanks for taking a look. How do I remove that? I tried optimize scene size, but that did not do it.

 

Thanks so much!

 

Adnan

0 Likes

mspeer
Consultant
Consultant

Hi!

You could use a custom script to check and remove certain nodes

or remove them manually by using the Outliner:

- Display -> DAG Objects only (uncheck)

- Show -> Show Auxiliary Objects (check)

or other editors like Namespace Editor (you also have more than 750 Namespaces in your scene).

0 Likes

mspeer
Consultant
Consultant
Accepted solution

Hi!

What you also can try is to select only what you want to keep and export this as a new file.

0 Likes

adnanmg
Advocate
Advocate

Thanks so much for your help. I was working on deleting nodes and then reloading to check. Since all the unneeded nodes are just junk nodes, not connected to anything I need, saving selected just now after reading that suggestion did the trick. That saves me a lot of headache. Thanks!

 

Adnan

0 Likes