Hi all. I have 2 questions
1.
Maya documentation of scriptJob attributeChange event quote:
Run the script when the named attribute changes value. The string must identify both the dependency node and the particular attribute. If the dependency node is deleted, this job is killed (even if the deletion is undoable).
But when i delete node scriptJob does not deleted. Why???
2. At now, I delete my scriptJob with MNodeMessage.addNodePreRemovalCallback(). I works good, and if i delete my node scriptJob deleted too. But maybe i want undo delete of node. So i need auto-recreate scriptJob again. Bu how??? I simple want to undo deletion of scriptJob with deletion of node