Hello, i have a .py file which contains all the functions i need and at the 
very bottom this class is laying which converting the .ui file etc.

def headBuild(*arg):
...
cmds.matchTransform('head_L_eye_bindDummy_JNT', leyeGeo)
...


class nyBipedUI(form_class, base_class):
...

 self.connectSignals()


 def connectSignals(self):
 #GET THE STRINGS FROM TEXT BOXES
 global bodyGeo
 bodyGeo = str(self.body_TB.text())
 global leyeGeo
 leyeGeo = str(self.leye_TB.text())
 global reyeGeo
 reyeGeo = str(self.reye_TB.text())


 #CONNECT SIGNALS

 self.connect(self.legBuild_BTN, QtCore.SIGNAL('released()'), legBuild)
 self.connect(self.headBuild_BTN, QtCore.SIGNAL('released()'), headBuild)
 
....

legBuild and headBuild functions are working on the UI but headBuild 
requires inputs as strings(leyeGeo and reyeGeo). If i type A to the line 
edit from the QtDesigner, it raises an error: couldn't find object:A, then 
i type B from the UI on Maya it's still raising the same error(couldn't 
find object A). I tried connecting signals from QtDesigner textEdited > 
setText to line edits' itself but no result. I hope that made sense. 

-- 
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/bf5b895f-a0ab-4a98-a710-c829b7970a31%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to