I have had some similar issues with python.net and Maya where the print 
statements were out of order(print called from .net and one from python). 
Worked it out to be a thread issue, after properly parenting my .net window to 
Maya it sorted itself out.

Hope that helps.

Rob

~B)

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of King
Sent: Saturday, 18 July 2009 7:20 PM
To: python_inside_maya
Subject: [Maya-Python] Live Update in UI controls


Hi,

I am exporting maya scene using couple of functions written in pymel.
These functions have print statement to print the information in
script editor as soon as they are called. Problem is that all the
print statements appears in the last when every thing is finished.

I tried using another way by creating a window and a scrollField and
insert text in the scrollFiled using another procedure. This is also
giving the same problem as mentioned above.

Now I am thinking to use Maya's "Output Window" to show event messages
as they are executed but I am not sure if it's going to work or not.

Any suggestions?

By the way how do print on "output window" using pymel?

Prashant






This message and its attachments may contain legally privileged or confidential 
information. This message is intended for the use of the individual or entity 
to which it is addressed. If you are not the addressee indicated in this 
message, or the employee or agent responsible for delivering the message to the 
intended recipient, you may not copy or deliver this message or its attachments 
to anyone. Rather, you should permanently delete this message and its 
attachments and kindly notify the sender by reply e-mail. Any content of this 
message and its attachments, which does not relate to the official business of 
the sending company must be taken not to have been sent or endorsed by the 
sending company or any of its related entities. No warranty is made that the 
e-mail or attachment(s) are free from computer virus or other defect.

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to