Are you wanting to restore the data the killed callback had as well as the 
callback, or just the killed callback?

On Saturday, May 5, 2012 4:09:45 PM UTC-7, vux wrote:
>
> 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
>

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to