Yes, this is unfortunately a known bug.  You can use mel.eval to hack around it.
thanks!

it's not very good news after spending half a day trying to find out what i was doing wrong.
is this a bug in maya 2008, or is it unresolved in 2010 as well?

mel.eval doesn't look like a best option. i guess i'll go with another hacky solution and
allow passing parameter list in two ways:

python: cmds.myCommand(allParams="param1;param2;param3")
mel: myCommand -param "param1" -param "param2" -param "param3"

and split "allParams" into multiple ones if "param" is not present.


--
viktoras
www.neglostyti.com


--
http://groups.google.com/group/python_inside_maya

Reply via email to