on detachedFromNode For Object Scripted Plug-ins

Topic: version 4 MAXScript New Features/Scripted Plug-In/Scripted Objects

There is a handler to scene object scripted plug-ins, on detachedFromNode <node> do ... This is called whenever a node that references a plug-in instance is deleted in the scene. Note that, in the presence of instancing, there may still be other nodes referencing the base object instance.

See also