Re: [Maya-Python] copySkinWeights not accepting multiple influenceAssociations

2012-03-13 Thread Justin Israel
Awesome. Thats good to know. I had to assume that all maya python commands work the same way, since thats the common approach when using the UI commands as well. On Tue, Mar 13, 2012 at 2:26 PM, Ray Faenza wrote: > Thanks Justin. Works like a charm. > > > On Tue, Mar 13, 2012 at 4:59 PM, Justi

Re: [Maya-Python] copySkinWeights not accepting multiple influenceAssociations

2012-03-13 Thread Ray Faenza
Thanks Justin. Works like a charm. On Tue, Mar 13, 2012 at 4:59 PM, Justin Israel wrote: > In python, it is not valid to pass multiple keywords of the same name as > parameters. This is obviously a typo in both the python commands docs, and > the pymel docs that copied them 1-to1. For commands th

Re: [Maya-Python] copySkinWeights not accepting multiple influenceAssociations

2012-03-13 Thread Justin Israel
In python, it is not valid to pass multiple keywords of the same name as parameters. This is obviously a typo in both the python commands docs, and the pymel docs that copied them 1-to1. For commands that state you can pass the flag multiple time, you should try and combine them into a tuple. See

[Maya-Python] copySkinWeights not accepting multiple influenceAssociations

2012-03-13 Thread rfsf
Curious, anyone else have this issue when scripting with the copySkinWeights command? The mel command works fine, but the python doesn't work . I receive the error # Error: keyword argument repeated mel : copySkinWeights -noMirror -surfaceAssociation closestPoint - influenceAssociation label -i

Re: [Maya-Python] Re: Extracting data from Output Window

2012-03-13 Thread Mark Serena
Right click your Maya shortcut and choose properties and in the target box add this to the end -log c:\debug.txt Should look like this: *"C:\Program Files\Autodesk\Maya2012\bin\maya.exe" -log c:\debug.txt* -- view archives: http://groups.google.com/group/python_inside_maya change your subscript

Re: [Maya-Python] Re: Extracting data from Output Window

2012-03-13 Thread Panupat Chongstitwattana
where exectly do you add that command at? On Mon, Mar 12, 2012 at 4:32 PM, Mark Serena wrote: > found this online...adding this to the window path works aswell. > "c:\..\..\...\bin\maya.exe" -log c:\debug.txt > > much simplier. thanks guys for the help. I really appreciate it, I'll be > back la