howdy folks. Im following the Gnomon Puppet Rig Tutorials, everything was goin greating until i got to the arm. He splits the bones of the rig evenely in the rig but doesnt show how he did it.... So naturally I do a search for a splitbon.mel, find one, doest work.
I get an error that says // Error: Wrong number of arguments on call to splitbone.
ive tried everything i know how to do. Tried sourcing, loading, saving in different script folders. (for some reason there are three) and closing/opening maya. PLease help. I really need to get through rigging as quick as possible. This is very frustrating and i cant find any answers anywhere.
thanks
Replies
That probably means that you were typing splitbone; (or whatever the command is) instead of splitbone "variable1" "variable2"; or whatever.
So saving script in different folders or restarting Maya won't help in this case, since it is loading the script successfully, but the command you're calling requires more information.
Just FYI
after it didnt work the few couple of times i tried changing the file name from that to just plane splitbone.mel
no sucess.
thanks for your response!
proc means it's a procedure.
int means it returns an integer.
splitbone is the name of the procedure.
You are interested in the parts after the "(" which should be something like (int myInt, string myString).
official documentation says: "Run the script by executing “icQTown” (without quotes) in the script editor." i did that but doesnt work. funny how it works on my other machine without problems. using maya 2018 btw
got a couple of scripts in maya and some of them work. im not new to maya but scripting was never a thing to me. it seems so buggy and unconsistent to me. some work, some dont, like wow this is a bummer.