Don't you just need to make your flag 'values' multi-use ? (MSyntax::makeFlagMultiUse)
- chris On Fri, Apr 23, 2010 at 3:26 PM, NPuetz <[email protected]> wrote: > Hey Guys! I'm having a little trouble accompanied by frustration > trying to figure out how to pass in a list/array to a custom command > im writing similar to the -transformValue flag in skinPercent. I've > done endless searches on google and within the devkit/plugins, but > failed to find a working solution. > > In case there is any confusion as to what im looking for..... > cmds.customCommand( values=[ .8, .6, .8, .7 ] ) > > ... just wanting to be able to provide a list as an argument for a flag > > -- > http://groups.google.com/group/python_inside_maya -- http://groups.google.com/group/python_inside_maya
