Re: [Maya-Python] takes at least 3 arguments (2 given)

2015-09-10 Thread Félix CT
Gracias!! I been stuck hours in this script! -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscr...@googlegroups.

Re: [Maya-Python] takes at least 3 arguments (2 given)

2015-09-10 Thread Kurian O.S
http://pastebin.com/y0nBAy9W Try this If you want to pass a argument to another function you can use partial or lambda, But I will stay with partial :) On Thu, Sep 10, 2015 at 5:52 PM, Félix CT wrote: > Hello this is my first post, I have troubles with this small script, if > anyone could help

[Maya-Python] takes at least 3 arguments (2 given)

2015-09-10 Thread Félix CT
Hello this is my first post, I have troubles with this small script, if anyone could help me, that would be great. The script: import maya.cmds as cmds def myName( self, nombre, apellido, *args ): print ( nombre + "_" + apellido ) def myWin(): cmds.window() cmds.columnL