--
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_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/34e8c823-5648-4269-a542-4eb57e1f4bb0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
It might be something that you either have to create a custom event for, in the API, or to hook into the Qt events for the app and watch for a showEvent(). That is my guess.
On Mon, Oct 27, 2014 at 3:29 AM, Arvid Schneider <arvidsc...@gmail.com> wrote:
Hey Group,I am trying to figure out how to register an ui create event. What I am trying to achieve is run a script when the renderViewWindow opens.Arvid
--
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+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/c126bf44-8ae9-4b6a-a23f-62b58099ecb6%40googlegroups.com.
I've never actually create and registered a custom event before. But I assume you would have to do the same thing, latching onto showEvents through Qt. You wouldn't want to do anything that is polling at intervals. It would be Qt telling you when windows are shown, and you would have to check the objectName to see if it is one that you care about.Maybe there is another way, but I didn't see anything possible through the message API
On Mon, Oct 27, 2014 at 12:38 PM, Arvid Schneider <arvidsc...@gmail.com> wrote:
I will give it a try. I was looking in the API already, but couldnt find anything useful.How would you go about to create a custom even?It would be great if that would work:while not pm.window('renderViewWindow', q = True, ex = True):print 'renderView Closed'else:runFunctionI will have a look in the Qt Events though
'On Sunday, October 26, 2014 10:59:04 PM UTC+1, Justin Israel wrote:
It might be something that you either have to create a custom event for, in the API, or to hook into the Qt events for the app and watch for a showEvent(). That is my guess.
On Mon, Oct 27, 2014 at 3:29 AM, Arvid Schneider <arvidsc...@gmail.com> wrote:
Hey Group,I am trying to figure out how to register an ui create event. What I am trying to achieve is run a script when the renderViewWindow opens.Arvid
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/34e8c823-5648-4269-a542-4eb57e1f4bb0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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+unsub...@googlegroups.com.