Message 1 of 2
Batch mode command error?
Not applicable
03-25-2011
11:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi there,
I am trying to make maya generate a fluid cache in command line batch mode.
But I can't seem to be able to pass the mel command.
I have a test mel script:
And then try to do:
But this errors and says:
When I change the 'apan' melscript to not take any arguments, it works.
Why won't it accept any arguments?
Any ideas anyone?
cheers
fred
I am trying to make maya generate a fluid cache in command line batch mode.
But I can't seem to be able to pass the mel command.
I have a test mel script:
global proc apan(string $what)
{
print ("Apan says: " + $what + "!\n");
}
And then try to do:
maya -batch -file maya_scene_file-v002.ma -command "apan hohoho";
But this errors and says:
Error: Number of arguments on call to apan does not match number of parameters in procedure definition.
When I change the 'apan' melscript to not take any arguments, it works.
Why won't it accept any arguments?
Any ideas anyone?
cheers
fred