hello everyoneee

i have a script which works fine when i run it in the script editor, but when i 
add it to part of my larger script and run it, it has this error:

formLayout.py line 215: getDagPath() takes exactly one argument (2 given)

this is line 215: sel.getDagPath(0,dag)

Im still not very clear on dag paths and looking online im getting a little 
confused. can someone explain to me in simple terms what this line does and 
maybe why it takes one argument?. because it seems to accept the "0,dag" when i 
run the script seperately.

thanks in advance, 
Sam

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/862b07ff-7c99-4401-a7cc-197bb86899f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to