On Fri, Aug 21, 2015 at 7:50 AM Alex Rideout <[email protected]> wrote:
> Hey all, > > I am curious if there is a way that one can display the progress of some > built in maya commands that don't output this information by default. Some > of maya's commands have either progress bars or print out current > completion status information, but there are plenty that don't that could > benefit from it if you are sending large amounts of data through them and > have no way of gauging how long it will take. > > Primarily, I am looking for a way to track the progress of writing out > cache files for dynamics especially in the cases of running a command line > Maya instance. Currently I can look at output cache files to see what > frames have been cached out, though it would be nice to see this in an > output window. I looked into scriptJobs utilizing timeChanged events in > hopes that as the cache function changes time in maya, that these script > jobs would trigger (no such luck). Any ideas? > I don't think there is a reliable way to assume what the internal implementation is doing for any Maya command (such as assuming the time callbacks might fire). If a particular Maya command blocks the main thread for a while and does a lot of work with not much feedback, I would think your only course of action is what you had mentioned... to externally monitor the effects of its progress. You could wrap the command and pop up your own progress output. > > Alex > > -- > 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/6062e220-eed6-488f-8916-488e25d5ab5a%40googlegroups.com > <https://groups.google.com/d/msgid/python_inside_maya/6062e220-eed6-488f-8916-488e25d5ab5a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA1yXfMySPLDzbkWPbm9hEGeUdKgzf8c93TFCHGANu663Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
