Mel script - Too much data was provided.

Mel script - Too much data was provided.

Anonymous
Not applicable
1,160 Views
1 Reply
Message 1 of 2

Mel script - Too much data was provided.

Anonymous
Not applicable

Hi,

 

I'm getting an error with my script and I don't know how to fix it again.

The error says: "// Error: line 278: setAttr: Too much data was provided. The last 23 elements were not used."

 

I created procedures to call upon when I click a button on a window I created. Executing the script creates the window but clicking the last button gives me this error. 

 

I was testing the buttons when suddenly the script disappeared from my script editor. I might have missclicked ctrl+x I'm not sure. Then I tried to undo it in the script editor and I got my script back. But now whenever I click the last button I'm getting this error.

 

I tried rewriting part of the script but it doesn't work. 

 

Any help much appreciated,

Remco

0 Likes
Accepted solutions (1)
1,161 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Accepted solution

Hi;

 

For anyone trying to solve this error in their script; don't forget your semicolons; I forgot to add a semicolon ";" so maya didn't know where my commands ended; Those buggers get harder to spot the later in the day it gets;

0 Likes