3ds Max C++ API Reference
Interface::Execute Command Options

See Interface::Execute. More...

Macros

#define I_EXEC_REGISTER_POSTSAVE_CB   1001
 For example: More...
 
#define I_EXEC_UNREGISTER_POSTSAVE_CB   1002
 Un-registers a callback which is called after a File / Save operation has occurred. More...
 
#define I_EXEC_REGISTER_PRESAVE_CB   1003
 Registers a callback which is called before a File / Save operation has occurred. More...
 
#define I_EXEC_UNREGISTER_PRESAVE_CB   1004
 Un-registers a callback which is called before a File / Save operation has occurred. More...
 

Detailed Description

See Interface::Execute.

Macro Definition Documentation

◆ I_EXEC_REGISTER_POSTSAVE_CB

#define I_EXEC_REGISTER_POSTSAVE_CB   1001

For example:

static GenericCallback mycb;
Definition: maxapi.h:2180
virtual INT_PTR Execute(int cmd, ULONG_PTR arg1=0, ULONG_PTR arg2=0, ULONG_PTR arg3=0, ULONG_PTR arg4=0, ULONG_PTR arg5=0, ULONG_PTR arg6=0)=0
CoreExport Interface * GetCOREInterface()
#define I_EXEC_REGISTER_POSTSAVE_CB
For example:
Definition: maxapi.h:2174

and when you are done:

#define I_EXEC_UNREGISTER_POSTSAVE_CB
Un-registers a callback which is called after a File / Save operation has occurred.
Definition: maxapi.h:2175

For an alternative approach, see Structure NotifyInfo. Registers a callback which is called after a File / Save operation has occurred.

◆ I_EXEC_UNREGISTER_POSTSAVE_CB

#define I_EXEC_UNREGISTER_POSTSAVE_CB   1002

Un-registers a callback which is called after a File / Save operation has occurred.

◆ I_EXEC_REGISTER_PRESAVE_CB

#define I_EXEC_REGISTER_PRESAVE_CB   1003

Registers a callback which is called before a File / Save operation has occurred.

◆ I_EXEC_UNREGISTER_PRESAVE_CB

#define I_EXEC_UNREGISTER_PRESAVE_CB   1004

Un-registers a callback which is called before a File / Save operation has occurred.