Notifications
Clear all

[Closed] Delete Protection

Hi,

Is it possible to protect a single node (like a box or a biped arm) from deleting? What I mean is sometimes when I wrongly delete a biped arm I go to the undo action but the biped in max 9 does not work fine anymore. So I would like to create a script that would confirm me if I want to delete a node.

I tryed this code: callbacks.addScript #selectedNodesPreDelete “print (holdMaxFile(); callbacks.notificationParam();)” id:#MXSHelp – When I delete a node, the max will save a hold and then I fetch it. But it is too slow when the max scene is huge.

Any other suggestions?

Thanks,

Rodrigo

1 Reply

instead of holding it why just not popping a messagebox ” You are about to make a mistake”
Could be annoying i admit, but if you “tag” some piece as “no-delete” it could also be a life saver.
i mean if you delete it after you saw the message then it must be because you were aware of what you were doing.
just my 2 cent.

-D-