[Maya-Python] Re: Get selection by selection order?

2010-01-22 Thread AK Eric
Years ago someone wrote a plugin to do this, it *was* here: http://www.3dhornet.eu/index.php?main_page=document_general_infocPath=63_67products_id=194 You can still download it from CreativeCrash here:

[Maya-Python] multi-use flags and python

2010-01-22 Thread viktoras
heya, got a problem with multiuse arguments and python. google only leads to other posts similar to mine none of which got an answer. i'm writting a custom command in C++, but intending to call that from maya in python. i need to define a multiuse argument for it (array of strings). i've got

Re: [Maya-Python] multi-use flags and python

2010-01-22 Thread Chris G
Yes, this is unfortunately a known bug. You can use mel.eval to hack around it. - Chris On Fri, Jan 22, 2010 at 1:28 PM, viktoras ituden.ui...@gmail.com wrote: heya, got a problem with multiuse arguments and python. google only leads to other posts similar to mine none of which got an

Re: [Maya-Python] multi-use flags and python

2010-01-22 Thread viktoras
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

Re: [Maya-Python] multi-use flags and python

2010-01-22 Thread Adam Mechtley
It obviously depends what you are doing in your final command (i.e. if you are not already using an object list or selection), but another option could be to use objects if your arguments are objects in the DG anyway. Using objects allows your command to accept either an individual object or an