Registering Action Tables

In order for 3ds Max to use an action table, it need to be registered. For most plug-ins, this is done by returning it's action table in the following methods in the plug-ins class descriptor:

virtual int NumActionTables() {return 1;}
virtual ActionTable* GetActionTable(int i){return GetActions();}

The system will call these methods on start-up, so if your plug-in exports action tables, they can be registered. If your plug-in has opted for the defer load, then the plug-in will not stay loaded at the start up time. It will be loaded if your actions are accessed. This keeps the memory footprint down at startup. See Deferred Loading of Plug-ins for more information.