Filter in the callback for your specific node type? On Thu, Aug 6, 2015 at 3:00 PM, Arvid Schneider <[email protected]> wrote:
> How would I create a callback that fires when a specific node type is > created? > I know about: MDGMessage.addNodeAddedCallback( function ) > but that registers any node created. I want to limit that. > Someone an idea? > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/62af34c5-03e1-4064-86c3-76e11df510b9%40googlegroups.com > <https://groups.google.com/d/msgid/python_inside_maya/62af34c5-03e1-4064-86c3-76e11df510b9%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Where we have strong emotions, we're liable to fool ourselves - Carl Sagan -- 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/CADHeb2azw6SZ7_asi6i7Le%2BD-7DyhfstwR2mbTatp4B1L%3D3Y%2BA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
