This topic summarizes the correspondence between notification codes defined in MaxPlus::NotificationCodes
and those in pymxs.runtime.callbacks
. This information is useful for translating scripts from one approach to the other. Some events have similar or identical names, but others are not obvious (such as ScenePreDeletedNode vs nodePreDelete).
For more information about the pymxs.runtime.callbacks
event types and how to use them, see the 'General Event Callback Mechanism' topic in the MAXScript Help.
MaxPlus | MAXScript Event Name | |
---|---|---|
UnitsChange | 1 | unitsChange |
TimeunitsChange | 2 | timeunitsChange |
ViewportChange | 3 | viewportChange |
SpacemodeChange | 4 | spacemodeChange |
SystemPreReset | 5 | systemPreReset |
SystemPostReset | 6 | systemPostReset |
SystemPreNew | 7 | systemPreNew |
SystemPostNew | 8 | systemPostNew |
FilePreOpen | 9 | filePreOpen |
FilePostOpen | 10 | filePostOpen |
FilePreMerge | 11 | filePreMerge |
FilePostMerge | 12 | filePostMerge |
FilePreSave | 13 | filePreSave |
FilePostSave | 14 | filePostSave |
FileOpenFailed | 15 | fileOpenFailed |
FilePreSaveOld | 16 | filePreSaveOld |
FilePostSaveOld | 17 | filePostSaveOld |
SelectionsetChanged | 18 | selectionSetChanged |
BitmapChanged | 19 | bitmapChanged |
PreRender | 20 | preRender |
PostRender | 21 | postRender |
PreRenderframe | 22 | preRenderFrame |
PostRenderframe | 23 | postRenderFrame |
PreImport | 24 | preImport |
PostImport | 25 | postImport |
ImportFailed | 26 | importFailed |
PreExport | 27 | preExport |
PostExport | 28 | postExport |
ExportFailed | 29 | exportFailed |
NodeRenamed | 30 | nodeRenamed |
PreProgress | 31 | preProgress |
PostProgress | 32 | postProgress |
ModpanelSelChanged | 33 | modPanelSelChanged |
RendparamChanged | 35 | renderParamsChanged |
MatlibPreOpen | 36 | mtlLibPreOpen / matLibPreOpen |
MatlibPostOpen | 37 | mtlLibPostOpen / matLibPostOpen |
MatlibPreSave | 38 | mtlLibPreSave / matLibPreSave |
MatlibPostSave | 39 | mtlLibPostSave / matLibPostSave |
MatlibPreMerge | 40 | mtlLibPreMerge / matLibPreMerge |
MatlibPostMerge | 41 | mtlLibPostMerge / matLibPostMerge |
FilelinkBindFailed | 42 | not exposed in MAXScript |
FilelinkDetachFailed | 43 | not exposed in MAXScript |
FilelinkReloadFailed | 44 | not exposed in MAXScript |
FilelinkAttachFailed | 45 | not exposed in MAXScript |
FilelinkPreBind | 48 | fileLinkPreBind |
FilelinkPostBind | 49 | fileLinkPostBind |
FilelinkPreDetach | 50 | fileLinkPreDetatch |
FilelinkPostDetach | 51 | fileLinkPostDetatch |
FilelinkPreReload | 52 | fileLinkPreReload |
FilelinkPostReload | 53 | fileLinkPostReload |
FilelinkPreAttach | 54 | fileLinkPreAttach |
FilelinkPostAttach | 55 | fileLinkPostAttach |
RenderPreeval | 57 | preRenderEval |
NodeCreated | 58 | nodeCreated |
NodeLinked | 59 | nodeLinked |
NodeUnlinked | 60 | nodeUnlinked |
NodeHide | 61 | nodeHide |
NodeUnhide | 62 | nodeUnhide |
NodeFreeze | 63 | nodeFreeze |
NodeUnfreeze | 64 | nodeUnfreeze |
NodePreMtl | 65 | nodePreMaterial |
NodePostMtl | 66 | nodePostMaterial |
SceneAddedNode | 67 | sceneNodeAdded |
ScenePreDeletedNode | 68 | nodePreDelete |
ScenePostDeletedNode | 69 | nodePostDelete |
SelNodesPreDelete | 70 | selectedNodesPreDelete / selNodesPreDelete |
SelNodesPostDelete | 71 | selectedNodesPostDelete / selNodesPostDelete |
WmEnable | 72 | mainWindowEnabled / wmEnable |
SystemShutdown | 73 | preSystemShutdown |
SystemStartup | 80 | postSystemStartup |
PluginLoaded | 81 | pluginLoaded |
SystemShutdown2 | 82 | postSystemShutdown |
AnimateOn | 83 | animateOn |
AnimateOff | 84 | animateOff |
ColorChange | 85 | colorChanged |
PreEditObjChange | 86 | modPanelObjPreChange |
PostEditObjChange | 87 | modPanelObjPostChange |
RadiosityprocessStarted | 88 | radiosityProcessStart |
RadiosityprocessStopped | 89 | radiosityProcessStopped |
RadiosityprocessReset | 90 | radiosityProcessReset |
RadiosityprocessDone | 91 | radiosityProcessDone |
LightingUnitDisplaySystemChange | 92 | lightingUnitDisplaySystemChange |
BeginRenderingReflectRefractMap | 93 | beginRenderingReflectRefractMap |
BeginRenderingActualFrame | 94 | beginRenderingActualFrame |
BeginRenderingTonemappingImage | 95 | beginRenderingTonemappingImage |
RadiosityPluginChanged | 96 | radiosityPluginChanged |
ScenePostUndo | 97 | sceneUndo |
SceneUndo | 97 | sceneUndo |
ScenePostRedo | 98 | sceneRedo |
ScenePostRefo | 98 | sceneRedo |
SceneRedo | 98 | sceneRedo |
ManipulateModeOff | 99 | manipulateModeOff |
ManipulateModeOn | 100 | manipulateModeOn |
SceneXrefPreMerge | 101 | sceneXrefPreMerge |
SceneXrefPostMerge | 102 | sceneXrefPostMerge |
ObjectXrefPreMerge | 103 | objectXrefPreMerge |
ObjectXrefPostMerge | 104 | objectXrefPostMerge |
PreMirrorNodes | 105 | preMirrorNodes |
PostMirrorNodes | 106 | postMirrorNodes |
NodeCloned | 107 | nodeCloned |
PreNotifydependents | 108 | not exposed in MAXScript |
PostNotifydependents | 109 | not exposed in MAXScript |
MtlRefadded | 110 | mtlRefAdded |
MtlRefdeleted | 111 | mtlRefDeleted |
TimerangeChange | 112 | animationRangeChange |
PreModifierAdded | 113 | preModifierAdded |
PostModifierAdded | 114 | postModifierAdded |
PreModifierDeleted | 115 | preModifierDeleted |
PostModifierDeleted | 116 | postModifierDeleted |
PreNodeGeneralPropChanged | 117 | preNodeGeneralPropChanged |
PostNodeGeneralPropChanged | 118 | postNodeGeneralPropChanged |
PreNodeGiPropChanged | 119 | preNodeGiPropChanged |
PostNodeGiPropChanged | 120 | postNodeGiPropChanged |
PreNodeMentalrayPropChanged | 121 | preNodeMentalrayPropChanged |
PostNodeMentalrayPropChanged | 128 | postNodeMentalrayPropChanged |
PreNodeBonePropChanged | 129 | preNodeBonePropChanged |
PostNodeBonePropChanged | 130 | postNodeBonePropChanged |
PreNodeUserPropChanged | 131 | preNodeUserPropChanged |
PostNodeUserPropChanged | 132 | postNodeUserPropChanged |
FilelinkPostReloadPrePrune | 133 | filelinkPostReloadPrePrune |
PreNodesCloned | 134 | preNodesCloned |
PostNodesCloned | 135 | postNodesCloned |
SystemPreDirChange | 137 | systemPreDirChange |
SystemPostDirChange | 138 | systemPostDirChange |
FilePostOpenProcess | 139 | filePostOpenProcess |
SvSelectionsetChanged | 140 | svSelectionSetChanged |
SvDoubleclickGraphnode | 141 | svDoubleClickGraphNode |
PreRendererChange | 142 | preRendererChange |
PostRendererChange | 143 | postRendererChange |
SvPreLayoutChange | 144 | svPreLayoutChange |
SvPostLayoutChange | 145 | svPostLayoutChange |
ByCategoryDisplayFilterChanged | 146 | byCategoryDisplayFilterChanged |
CustomDisplayFilterChanged | 147 | customDisplayFilterChanged |
LayerCreated | 148 | layerCreated |
LayerDeleted | 149 | layerDeleted |
NodeLayerChanged | 150 | nodeLayerChanged |
TabbedDialogCreated | 151 | tabbedDialogCreated |
TabbedDialogDeleted | 152 | tabbedDialogDeleted |
NodeNameSet | 153 | nodeNameSet |
HwTextureChanged | 154 | not exposed in MAXScript |
MxsStartup | 155 | not exposed in MAXScript |
MxsPostStartup | 156 | not exposed in MAXScript |
ActionItemHotKeyPreExec | 157 | actionItemHotkeyPreExecute |
ActionItemHotKeyPostExec | 158 | actionItemHotKeyPostExecute |
ScenestatePreSave | 159 | preSceneStateSave |
ScenestatePostSave | 160 | postSceneStateSave |
ScenestatePreRestore | 161 | preSceneStateRestore |
ScenestatePostRestore | 162 | postSceneStateRestore |
ScenestateDelete | 163 | sceneStateDelete |
ScenestateRename | 164 | sceneStateRename |
ScenePreUndo | 165 | preSceneUndo |
ScenePreRedo | 166 | preSceneRedo |
MxsShutdown | 167 | not exposed in MAXScript |
D3dPreDeviceReset | 168 | D3DPreDeviceReset |
D3dPostDeviceReset | 169 | D3DPostDeviceReset |
ToolpaletteMtlSuspend | 170 | not exposed in MAXScript |
ToolpaletteMtlResume | 171 | not exposed in MAXScript |
ClassdescReplaced | 172 | not exposed in MAXScript |
FilePreOpenProcess | 173 | filePreOpenProcess |
FilePreSaveProcess | 174 | filePreSaveProcess |
FilePostSaveProcess | 175 | filePostSaveProcess |
ClassdescLoaded | 176 | classDescLoaded |
ToolbarsPreLoad | 177 | preLoadingCuiToolbars |
ToolbarsPostLoad | 178 | postLoadingCuiToolbars |
AtsPreRepathPhase | 179 | atsPreRepathPhase |
AtsPostRepathPhase | 180 | atsPostRepathPhase |
ProxyTemporaryDisableStart | 181 | proxyTempDisableStart |
ProxyTemporaryDisableEnd | 182 | proxyTempDisableEnd |
FileCheckStatus | 183 | not exposed in MAXScript |
NamedSelSetCreated | 184 | NamedSelSetCreated |
NamedSelSetDeleted | 185 | NamedSelSetDeleted |
ModpanelSubobjectlevelChanged | 186 | ModPanelSubObjectLevelChanged |
FailedDirectxMaterialTextureLoad | 187 | FailedDirectXMaterialTextureLoad |
NamedSelSetRenamed | 188 | NamedSelSetRenamed |
RenderPreevalFrameinfo | 188 | not exposed in MAXScript |
PostSceneReset | 189 | postSceneReset |
AnimLayersEnabled | 190 | animLayersEnabled |
AnimLayersDisabled | 191 | animLayersDisabled |
ActionItemPreStartOverride | 192 | not exposed in MAXScript |
ActionItemPostStartOverride | 193 | not exposed in MAXScript |
ActionItemPreEndOverride | 194 | not exposed in MAXScript |
ActionItemPostEndOverride | 195 | not exposed in MAXScript |
PreNodeRenderPropChanged | 196 | not exposed in MAXScript |
PostNodeRenderPropChanged | 197 | not exposed in MAXScript |
PreNodeDisplayPropChanged | 198 | not exposed in MAXScript |
PostNodeDisplayPropChanged | 199 | not exposed in MAXScript |
PreNodeBasicPropChanged | 200 | not exposed in MAXScript |
PostNodeBasicPropChanged | 201 | not exposed in MAXScript |
NamedSelSetPreModify | 202 | NamedSelSetPreModify |
NamedSelSetPostModify | 203 | NamedSelSetPostModify |
SelectionLock | 208 | selectionLocked |
SelectionUnlock | 209 | selectionUnlocked |
PreImageViewerDisplay | 210 | preImageViewerDisplay |
PostImageViewerDisplay | 211 | postImageViewerDisplay |
ImageViewerUpdate | 212 | imageViewerUpdate |
CustomAttributesAdded | 213 | not exposed in MAXScript |
CustomAttributesRemoved | 214 | not exposed in MAXScript |
OsThemeChanged | 215 | not exposed in MAXScript |
ActiveViewportChanged | 216 | activeViewportChanged |
PreMaxmainwindowShow | 219 | not exposed in MAXScript |
PostMaxmainwindowShow | 220 | not exposed in MAXScript |
ClassdescAdded | 221 | ClassDescAdded |
ObjectDefinitionChangeBegin | 222 | ObjectDefinitionChangeBegin |
ObjectDefinitionChangeEnd | 223 | ObjectDefinitionChangeEnd |
MtlbaseParamdlgPreOpen | 224 | not exposed in MAXScript |
MtlbaseParamdlgPostClose | 225 | not exposed in MAXScript |
AppFrameThemeChanged | 227 | postAppThemeChange |
CuiMenusPostLoad | 245 | postLoadingMenus |
ActionItemExecutionStarted | 247 | actionItemExecutionStarted |
ActionItemExecutionEnded | 248 | actionItemExecutionEnded |
FilePostMerge2 | 251 | filePostMerge2 |
PlaybackStart | 255 | playbackStart |
PlaybackEnd | 256 | playbackEnd |
SceneExplorerNeedsUpdate | 257 | sceneExplorerNeedsUpdate |
filePostOpenProcessFinalized | 258 | filePostOpenProcessFinalized |
filePostMergeProcessFinalized | 259 | filePostMergeProcessFinalized |
PreProjectFolderChange | 260 | preProjectFolderChange |
PostProjectFolderChange | 261 | postProjectFolderChange |
PreMaxscriptStartupScriptLoad | 262 | preStartupScriptLoad |
ActiveShadeInViewportToggled | 263 | activeShadeInViewportToggled |
SystemShutdownCheck | 264 | systemShutdownCheck |
SystemShutdownCheckFailed | 265 | systemShutdownCheckFailed |
SystemShutdownCheckPassed | 266 | systemShutdownCheckPassed |
FilePostMerge3 | 267 | filePostMerge3 |
not exposed in MaxPlus | welcomeScreenDone | |
not exposed in MaxPlus | heightMenuChanged | |
not exposed in MaxPlus | preViewPanelDelete | |
not exposed in MaxPlus | preViewportTooltip | |
not exposed in MaxPlus | preAppThemeChange | |
not exposed in MaxPlus | preWorkspaceChange | |
not exposed in MaxPlus | postWorkspaceChange | |
not exposed in MaxPlus | preWorkspaceCollectionChange | |
not exposed in MaxPlus | postWorkspaceCollectionChange | |
not exposed in MaxPlus | mouseSettingsChanged | |
not exposed in MaxPlus | preSavingCuiToolbars | |
not exposed in MaxPlus | postSavingCuiToolbars | |
not exposed in MaxPlus | appActivated | |
not exposed in MaxPlus | appDeactivated | |
not exposed in MaxPlus | cuiMenusUpdate | |
not exposed in MaxPlus | postRestoreObjsDeleted | |
not exposed in MaxPlus | preSavingMenus | |
not exposed in MaxPlus | postSavingMenus | |
not exposed in MaxPlus | viewportSafeFrameToggle | |
not exposed in MaxPlus | layerParentChanged | |
not exposed in MaxPlus | interactivePluginCreationStarted | |
not exposed in MaxPlus | interactivePluginCreationEnded | |
not exposed in MaxPlus | postNodeSelectOperation |