I'm making my own node class, and I'm looking for a way to block the creation of the node in certain circumstances. Does anyone know of a way to accomplish this, either through one of the MPxNode methods, or via some more generic maya callback? (Well, other than by crashing the program - I'd like to make maya print an error or something similar.)
-- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAAssL7auLuFsCzSDueb%3D2nVXe3SSdwhOSUaRMBZb%3DGk35tsXNw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.