Node Related Notifications

#nodeCreated: node 

Sent when a node is created.

Calling callbacks.notificationParam() within the callback function returns the node.

#nodeCloned: node 

Sent after a node is cloned but before theHold.Accept(..).

Calling callbacks.notificationParam() within the callback function returns the node.

#sceneNodeAdded: node 

Sent just after a node is added to the scene.

This notification is not generated when a scene is opened.
Calling callbacks.notificationParam() within the callback function returns the node.

#nodeFreeze: node 

Sent when a node is frozen.

Calling callbacks.notificationParam() within the callback function returns the node.

#nodeUnfreeze: Node 

Sent when a node is unfrozen.

Calling callbacks.notificationParam() within the callback function returns the node.

#nodeHide: node 

Sent when a node is hidden.

Calling callbacks.notificationParam() within the callback function returns the node.

#nodeUnhide: Node 

Sent when a node is unhidden.

Calling callbacks.notificationParam() within the callback function returns the node.

#nodeLinked: Node 

Sent when a new parent-child link is made. Calling callbacks.notificationParam() within the callback function returns the node.

#nodeUnlinked: Node 

Sent when a parent-child link is broken.

Calling callbacks.notificationParam() within the callback function returns the node.

#nodePreDelete: Node 

Sent before a node is deleted.

This event is not generated when a scene is closed.
Calling callbacks.notificationParam() within the callback function returns the node.

#nodePostDelete: undefined 

Sent after a node is deleted.

This event is not generated when a scene is closed.

#nodePreMaterial: Node 

Sent just before a node gets a new material.

Calling callbacks.notificationParam() within the callback function returns the node.

#nodePostMaterial: Node 

Sent just after a node gets a new material.

Calling callbacks.notificationParam() within the callback function returns the node.

#nodeRenamed: #(name, name) 

Sent if a scene node is renamed.

Calling callbacks.notificationParam() within the callback function returns a 2 element array containing the old and new node name as strings

Note: It is more reliable to use the #nodeNameSet callback introduced in 3ds Max 7! See below.
#nodeNameSet: #(name, name, node) 

Sent when a scene node name is set or changed.

Calling callbacks.notificationParam() within the callback function returns a 3 element array containing the old name, the new name, and the node.

Note: It is more reliable to use the #nodeNameSet callback introduced in 3ds Max 7! See below.
#preNodeBonePropChanged: Array of nodes 

Pre bone property change.

Calling callbacks.notificationParam() within the callback function returns the array of nodes.

This notification was broken in versions prior to 3ds Max 2014.

The fixed version will be called for individual bones, so the return value will still be an array, but containing only one node per call.

The notification will be broadcast for all bone anim property changes except for InvalidateObjectTM() which also alters a flag in the bone's property, but that flag would be changed also when a child bone is altered. This could happen by simply moving nodes in the viewport, so this case is excluded to avoid an avalanche of notifications.

#postNodeBonePropChanged: Array of nodes 

Post bone property change.

Calling callbacks.notificationParam() within the callback function returns the array of nodes.

This notification was broken in versions prior to 3ds Max 2014.

The fixed version will be called for individual bones, so the return value will still be an array, but containing only one node per call.

The notification will be broadcast for all bone anim property changes except for InvalidateObjectTM() which also alters a flag in the bone's property, but that flag would be changed also when a child bone is altered. This could happen by simply moving nodes in the viewport, so this case is excluded to avoid an avalanche of notifications.

#preNodeGeneralPropChanged: Array of nodes 

Pre general property change.

Calling callbacks.notificationParam() within the callback function returns the array of nodes

#postNodeGeneralPropChanged: Array of nodes 

Post general property change.

Calling callbacks.notificationParam() within the callback function returns the array of nodes whose properties have been changed.

#preNodeGiPropChanged: Array of nodes 

Sent before Advanced Lighting property changes.

Calling callbacks.notificationParam() within the callback function returns the array of nodes whose properties will be changed.

#postNodeGiPropChanged: Array of nodes 

Sent after Advanced Lighting property changes.

Calling callbacks.notificationParam() within the callback function returns the array of nodes whose properties have been changed.

#preNodesCloned: Array of nodes 

Sent before node clone.

Calling callbacks.notificationParam() within the callback function returns the array of nodes.

#postNodesCloned: #(array of nodes, array of nodes, name) 

Sent after nodes are cloned.

Calling callbacks.notificationParam() within the callback function will return a 3 element array where the first element is an array of the original nodes, the second element is an array of the cloned nodes, and the third element is a name value of #copy , #instance , or #reference , reflecting the clone type.

#preNodeUserPropChanged: Array of nodes 

Pre user property change.

Calling callbacks.notificationParam() within the callback function returns the array of nodes.

#postNodeUserPropChanged: Array of nodes 

Post user property change.

Calling callbacks.notificationParam() within the callback function returns the array of nodes.

#preMirrorNodes: Array of nodes 

Beginning of the mirror operation.

Calling callbacks.notificationParam() within the callback function returns the array of nodes.

#postMirrorNodes: Array of nodes 

End of the mirror operation.

Calling callbacks.notificationParam() within the callback function returns the array of nodes.

#selectedNodesPreDelete: Array of nodes 

Sent just before selected nodes are deleted.

Calling callbacks.notificationParam() within the callback function returns the Array of nodes about to be deleted.

#selectedNodesPostDelete: undefined 

Sent just after selected nodes are deleted.

#selectionSetChanged: undefined 

Sent after the selection set has changed.

#postNodeSelectOperation: undefined 

Sent after the system Node Selection Processor has finished selecting nodes.