Hi,
I have created a MPxCommand without MSyntax. Arguments are parsed by
loop method and *help* is available when "-h" or "-help" flag is
passed. Mel syntax is:
itemFilterAttribute -at "_vpr_animatedVisibility" -ex 0 -v 1 -items
$obj;
Python is giving me an error:
Error Parsing: Flag 'at' does not appear in help for command
itemFilterAttribute. Skipping command formatting
items=util.defaultlist(str, itemFilterAttribute
("_vpr_animatedVisibility", -ex, 0, -v, 1, -items, obj) # <----
Formatting this command failed. You will have to fix this by hand)
What's wrong here? and what's the solution?
Is it because of MSyntax?
Cheers
Prashant
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---