sure. I have this code that create my UI

ui code <http://pastebin.com/TeZn1iF1>

I want to query the value of the spine box jntNumber = self.ui.joints_spnBox
.value()
so, having my environment setup okey, I try the following in the maya 
python interpreter :

import setupTools_UIs.createRibbon_UI as crUI; reload(crUI)
controlMainWindow = crUI.ControlMainWindow()
controlMainWindow.ui.joints_spnBox.update()
controlMainWindow.ui.joints_spnBox.value()

but the value that I get is now the one that I put in the ui spinebox. it 
is always the same.
I was trying to update the joints_spnBox, thinking that i would get the new 
value, but it doesn´t

-- 
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/c266fd38-2ede-489e-ad50-4e988d1b375b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to