Hi, Take a look at scriptJobs <http://help.autodesk.com/cloudhelp/2016/ENU/Maya-Tech-Docs/CommandsPython/scriptJob.html>. There are events for when DAG nodes are created, and when nodes are deleted. scriptJob is effectively a high level wrapper around MMessage callbacks.
Justin On Mon, Oct 10, 2016 at 9:33 AM Kevin C. Burke <[email protected]> wrote: > Hi, > I have a list that I want to update when objects have been added or > deleted from the Maya scene. > > > Is there some kind of global event or perhaps an Outliner event that fires > when a change like this happens? > > > I am working in PyMel. Thank you! :) > > -- > 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/6a3f27b3-02fa-450e-83cf-69c7f200d45c%40googlegroups.com > <https://groups.google.com/d/msgid/python_inside_maya/6a3f27b3-02fa-450e-83cf-69c7f200d45c%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/CAPGFgA2EPe8AaSx5JWMgMHRxhyXb%3DOJW9%3DR-fv-r7LmgmgPG7g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
