Notifications
Clear all

[Closed] NodeEventCallback Batch, best way to achieve

 ILS

I have several node event callbacks but I want to be able to speed those up by only performing a function at the end for a bunch of objects. From max help there are options for callbackbegin and callbackend, those seem like the way to go.
Callbackbegin and callbackend fire on all events but I want specific function for each of the events like added, deleted and namechanged fired at the end of those events as a batch.

Essentially I have a scene object lister that I want to update when node properties change and instead of updating for every object every time I want to update it once at the end of an operation.

listerNodeEventCallback = NodeEventCallback mouseUp:true delay:500 selectionChanged:selectionFN added:addedFN nameChanged:nameChangeFN geometryChanged:geoChangeFN