max_commands.inl

Go to the documentation of this file.
00001 /*  
00002  *      MAX_commands.h - defines all the invocable MAX UI commands - for the 'max' scripter construct
00003  *
00004  *          Copyright (c) John Wainwright 1996
00005  *
00006  */
00007 
00008 #pragma once
00009 
00010 #include "..\..\maxcom.h"
00011 #include "..\..\buildver.h"
00012 
00013 #pragma warning(push)
00014 #pragma warning(disable:4100)
00015  /* the commands... these are the command codes defined in "maxcom.h".  they MUST be in
00016  * alphabetical order */
00017 
00018     "accel pan",                MAXCOM_ACCEL_PAN,               0,
00019     "acthomegrid",              MAXCOM_ACTHOMEGRID,             MR_R2,
00020     "activate grid object",     MAXCOM_ACTGRIDOBJ ,             0,
00021     "activate home grid",       MAXCOM_ACTHOMEGRID,             0,
00022     "adaptive persp grid",      MAXCOM_ADAPTIVE_PERSP_GRID_TOGGLE,  0,
00023     "adaptive perspective grid toggle", MAXCOM_ADAPTIVE_PERSP_GRID_TOGGLE,  MR_R2,
00024     "align",                    MAXCOM_ALIGN,                   0,
00025     "align camera",             MAXCOM_TOOLS_ALIGNCAMERA,       0,
00026     "align normals",            MAXCOM_ALIGNNORMALS,            0,
00027     "alignnormals",             MAXCOM_ALIGNNORMALS,            MR_R2,
00028     "angle snap toggle",        MAXCOM_ANGLE_SNAP_TOGGLE,       0,
00029     "apply ik",                 MAXCOM_APPLY_IK,                0,
00030 #ifndef NO_TOOL_ARRAY   // russom - 10/22/01
00031     "array",                    MAXCOM_ARRAY,                   0,
00032 #endif
00033     "backface",                 MAXCOM_BACKFACE,                MR_R2,
00034     "backface cull toggle",     MAXCOM_BACKFACE,                0,
00035     "background",               MAXCOM_BACKGROUND,              MR_R2,
00036     "background display toggle", MAXCOM_BACKGROUND,             0,
00037     "bind space warp mode",     MAXCOM_BINDWSM,                 0,
00038     "bindwsm",                  MAXCOM_BINDWSM,                 MR_R2,
00039     "box mode",                 MAXCOM_BOX_MODE,                MR_R2,
00040     "box mode selected",        MAXCOM_BOX_MODE,                0,
00041     "box mode toggle",          MAXCOM_BOX_TOGGLE,              0,
00042     "box toggle",               MAXCOM_BOX_TOGGLE,              MR_R2,
00043     "configure paths",          MAXCOM_CONFIGURE_PATHS,         0,
00044 #ifndef NO_CREATE_TASK  // russom - 12/06/01
00045     "create mode",              MAXCOM_CREATE_MODE,             0,
00046 #endif
00047 #ifndef NO_CUI  // russom - 02/12/02
00048     "customize TP",             MAXCOM_CUSTOMIZE_CUSTOMIZETP,   0,
00049     "customize UI",             MAXCOM_CUSTOMIZE_CUSTOMIZEUI,   0,
00050 #endif
00051     "cycle select",             MAXCOM_CYCLE_SELECT_METHOD ,    0,
00052     "cycle sublevel",           MAXCOM_CYCLE_SUBLEVEL,          MR_R2,
00053     "cycle subobject level",    MAXCOM_CYCLE_SUBLEVEL,          0,
00054     "def lgt toggle",           MAXCOM_DEF_LGT_TOGGLE,          MR_R2,
00055     "default lighting toggle",  MAXCOM_DEF_LGT_TOGGLE,          0,
00056     "delete",                   MAXCOM_EDIT_DELETE ,            0,
00057 #ifndef NO_TOOL_DISPLAY_FLOATER // russom - 10/22/01
00058     "display floater",          MAXCOM_TOOLS_DISPLAYFLOATER,    0,
00059 #endif
00060 #ifndef NO_DISPLAY_TASK // russom - 12/06/01
00061     "display mode",             MAXCOM_DISPLAY_MODE,            0,
00062 #endif
00063     "dolly",                    MAXCOM_DOLLY,                   MR_R2,
00064     "dolly mode",               MAXCOM_DOLLY,                   0,
00065     "drawing aids",             MAXCOM_DRAWINGAIDS,             0,
00066     "drawingaids",              MAXCOM_DRAWINGAIDS,             MR_R2,
00067     "fetch",                    MAXCOM_FETCH,                   0,
00068     "file archive",             MAXCOM_FILE_ARCHIVE,            0,
00069     "file export",              MAXCOM_FILE_EXPORT,             0,
00070     "file export selected",     MAXCOM_FILE_EXPORTSELECTED,     0,
00071     "file import",              MAXCOM_FILE_IMPORT,             0,
00072     "file insert tracks",       MAXCOM_FILE_INSERTTRACKS,       0,
00073 #ifndef NO_LOAD_SAVE_ANIMATION
00074     "file load animation",      MAXCOM_FILE_LOADXMLANIMATION,   0,
00075 #endif //NO_LOAD_SAVE_ANIMATION
00076     "file merge",               MAXCOM_FILE_MERGE,              0,
00077     "file new",                 MAXCOM_FILE_NEW,                0,
00078     "file open",                MAXCOM_FILE_OPEN,               0,
00079     "file preferences",         MAXCOM_FILE_PREFERENCES,        0,
00080     "file preferences gamma",   MAXCOM_API_GAMMA_PREF,          0,
00081     "file replace",             MAXCOM_FILE_REPLACE,            0,
00082     "file save",                MAXCOM_FILE_SAVE,               0,
00083 #ifndef NO_LOAD_SAVE_ANIMATION
00084     "file save animation",      MAXCOM_FILE_SAVEXMLANIMATION,   0,
00085 #endif //NO_LOAD_SAVE_ANIMATION
00086     "file save selected",       MAXCOM_FILE_SAVESELECTED,       0,
00087     "file saveas",              MAXCOM_FILE_SAVEAS,             0,
00088     "file savecopyas",              MAXCOM_FILE_SAVECOPYAS,             0,
00089     "file summary",             MAXCOM_FILE_SUMMARYINFO,        0,
00090     "file xref object",         MAXCOM_FILE_XREFOBJECT,         0,
00091     "file xref scene",          MAXCOM_FILE_XREFSCENE,          0,
00092     "fov",                      MAXCOM_FOV, 0,
00093     "freeze inv",               MAXCOM_FREEZE_INV,  0,
00094     "freeze selection",         MAXCOM_FREEZE_SELECTION,    0,
00095     "fullinteract",             MAXCOM_FULLINTERACT,    0,
00096     "grid nudge down",          MAXCOM_GRID_NUDGE_DOWN, 0,
00097     "grid nudge up",            MAXCOM_GRID_NUDGE_UP,   0,
00098     "grid toggle",              MAXCOM_GRID_TOGGLE, 0,
00099     "grids align",              MAXCOM_GRIDS_ALIGN, 0,
00100     "group attach",             MAXCOM_GROUP_ATTACH,    0,
00101     "group close",              MAXCOM_GROUP_CLOSE, 0,
00102     "group detach",             MAXCOM_GROUP_DETACH,    0,
00103     "group explode",            MAXCOM_GROUP_EXPLODE,   0,
00104     "group group",              MAXCOM_GROUP_GROUP, 0,
00105     "group open",               MAXCOM_GROUP_OPEN,  0,
00106     "group ungroup",            MAXCOM_GROUP_UNGROUP,   0,
00107     "help about",               MAXCOM_HELP_ABOUT,  0,
00108     "hide camera toggle",       MAXCOM_HIDE_CAMERA_TOGGLE,  0,
00109     "hide command panel toggle", MAXCOM_HIDE_CMD_PAN,   0,
00110     "hide floating toolbars toggle", MAXCOM_HIDE_FLOATERS,  0,
00111     "hide helper toggle",       MAXCOM_HIDE_HELPER_TOGGLE,  0,
00112     "hide inv",                 MAXCOM_HIDE_INV,    0,
00113     "hide light toggle",        MAXCOM_HIDE_LIGHT_TOGGLE,   0,
00114 #ifndef NO_STANDARD_TOOLBAR_OPTIONS // russom - 02/12/02
00115     "hide main toolbar toggle", MAXCOM_HIDE_MAIN_TB,    0,
00116 #endif
00117     "hide object toggle",       MAXCOM_HIDE_OBJECT_TOGGLE,  0,
00118     "hide selection",           MAXCOM_HIDE_SELECTION,  0,
00119     "hide shape toggle",        MAXCOM_HIDE_SHAPE_TOGGLE,   0,
00120     "hide system toggle",       MAXCOM_HIDE_SYSTEM_TOGGLE,  0,
00121 #if !defined(NO_STANDARD_TOOLBAR_OPTIONS) && !defined(NO_CUI_TABBED_PANELS) // russom - 02/12/02
00122     "hide tab panel toggle",    MAXCOM_HIDE_SHELF,  0,
00123 #endif
00124     "hide wsm toggle",          MAXCOM_HIDE_WSM_TOGGLE, 0,
00125 #ifndef NO_HIERARCHY_TASK  // JP Morel - July 17th 2002
00126     "hierarchy mode",           MAXCOM_HIERARCHY_MODE,  0,
00127 #endif
00128     "hold",                     MAXCOM_HOLD,    0,
00129     "ik terminator",            MAXCOM_IK_TERMINATOR,   0,
00130     "ipan",                     MAXCOM_IPAN,    0,
00131     "izoom in",                 MAXCOM_IZOOM_IN,    0,
00132     "izoom out",                MAXCOM_IZOOM_OUT,   0,
00133     "key mode",                 MAXCOM_KEY_MODE,    0,
00134     "link",                     MAXCOM_LINK,    0,
00135 #ifndef NO_CUI  // russom - 02/12/02
00136     "load custom UI",           MAXCOM_CUSTOMIZE_LOADCUI,   0,
00137 #endif
00138     "lock UI layout",           MAXCOM_CUSTOMIZE_LOCKUILAYOUT,  0,
00139     "material browser",         MAXCOM_TOOLS_MTLMAPBROWSER, 0,
00140     "mirror",                   MAXCOM_MIRROR,  0,
00141     "modify mode",              MAXCOM_MODIFY_MODE, 0,
00142 #ifndef NO_MOTION_TASK  // JP Morel - July 12th 2002
00143     "motion mode",              MAXCOM_MOTION_MODE, 0,
00144 #endif
00145     "move",                     MAXCOM_MOVE,    0,
00146     "mtledit",                  MAXCOM_MTLEDIT, 0,
00147     "next mod",                 MAXCOM_NEXT_MOD,    0,
00148     "orbit",                    MAXCOM_ROTATEVIEW,  MR_R2,
00149     "override",                 MAXCOM_OVERRIDE,    0,
00150     "pancamera",                MAXCOM_PANCAMERA,   0,
00151     "panview",                  MAXCOM_PANVIEW, 0,
00152     "percent snap toggle",      MAXCOM_PERCENT_SNAP_TOGGLE, 0,
00153     "persp",                    MAXCOM_PERSP,   0,
00154     "place highlight",          MAXCOM_EDIT_PLACEHIGHLIGHT, 0,
00155     "prev mod",                 MAXCOM_PREV_MOD,    0,
00156     "preview",                  MAXCOM_PREVIEW, 0,
00157     "properties",               MAXCOM_PROPERTIES,  0,
00158     "quick render",             MAXCOM_QUICK_RENDER,    0,
00159     "redo",                     MAXCOM_EDIT_REDO ,  0,
00160     "renamepreview",            MAXCOM_RENAMEPREVIEW,   0,
00161     "render last",              MAXCOM_RENDER_LAST, 0,
00162     "render scene",             MAXCOM_RENDER_SCENE,    0,
00163     "reset file",               MAXCOM_RESET_FILE,  0,
00164     "revert custom UI",         MAXCOM_CUSTOMIZE_REVERTCUI, 0,
00165     "rns",                      MAXCOM_RNS, 0,
00166     "roll",                     MAXCOM_ROLL,    0,
00167     "rotate",                   MAXCOM_ROTATE,  0,
00168     "rotateview",               MAXCOM_ROTATEVIEW,  0,
00169 #ifndef NO_SAFE_FRAMES // orb -7-20-2001
00170     "safeframe toggle",         MAXCOM_SAFEFRAME_TOGGLE,    0,
00171 #endif // NO_SAFE_FRAMES
00172 #ifndef NO_CUI  // russom - 02/12/02
00173     "save custom UI as",        MAXCOM_CUSTOMIZE_SAVECUIAS, 0,
00174 #endif
00175     "saveplus",                 MAXCOM_SAVEPLUS,    0,
00176     "scale",                    MAXCOM_SCALE,   0,
00177     "scale cycle",              MAXCOM_SCALE_CYCLE, 0,
00178     "select",                   MAXCOM_SELECT,  0,
00179     "select all",               MAXCOM_EDIT_SELECTALL , 0,
00180     "select by color",          MAXCOM_SELECT_BY_COLOR, 0,
00181     "select child",             MAXCOM_SELECT_CHILD,    0,
00182     "select invert",            MAXCOM_EDIT_SELECTINVERT ,  0,
00183     "select next sibling",      MAXCOM_SELECT_NEXTSIBLING , 0,
00184     "select none",              MAXCOM_EDIT_SELECTNONE ,    0,
00185     "select parent",            MAXCOM_SELECT_PARENT,   0,
00186     "select previous sibling",  MAXCOM_SELECT_PREVSIBLING , 0,
00187     "selection floater",        MAXCOM_TOOLS_SELECTIONFLOATER,  0,
00188 
00189     "set key all",                                  MAXCOM_TOOL_SETKEY_HOTKEYALL,   0,
00190     "set key all filter",                           MAXCOM_TOOL_SETKEY_ALL, 0,
00191     "set key all position",                         MAXCOM_TOOL_SETKEY_HOTKEYPOS,   0,
00192     "set key all position rotation and scale",      MAXCOM_TOOL_SETKEY_HOTKEYPRS,   0,
00193     "set key all postion",                          MAXCOM_TOOL_SETKEY_HOTKEYPOS,   0,
00194     "set key all postion rotation and scale",       MAXCOM_TOOL_SETKEY_HOTKEYPRS,   0,
00195     "set key all rotation",                         MAXCOM_TOOL_SETKEY_HOTKEYROT,   0,
00196     "set key all scale",                            MAXCOM_TOOL_SETKEY_HOTKEYSCALE, 0,
00197     "set key all x position",                       MAXCOM_TOOL_SETKEY_HOTKEYPOSX,  0,
00198     "set key all x postion",                        MAXCOM_TOOL_SETKEY_HOTKEYPOSX,  0,
00199     "set key all x rotation",                       MAXCOM_TOOL_SETKEY_HOTKEYROTX,  0,
00200     "set key all x scale",                          MAXCOM_TOOL_SETKEY_HOTKEYSCALEX,    0,
00201     "set key all y position",                       MAXCOM_TOOL_SETKEY_HOTKEYPOSY,  0,
00202     "set key all y postion",                        MAXCOM_TOOL_SETKEY_HOTKEYPOSY,  0,
00203     "set key all y rotation",                       MAXCOM_TOOL_SETKEY_HOTKEYROTY,  0,
00204     "set key all y scale",                          MAXCOM_TOOL_SETKEY_HOTKEYSCALEY,    0,
00205     "set key all z position",                       MAXCOM_TOOL_SETKEY_HOTKEYPOSZ,  0,
00206     "set key all z postion",                        MAXCOM_TOOL_SETKEY_HOTKEYPOSZ,  0,
00207     "set key all z rotation",                       MAXCOM_TOOL_SETKEY_HOTKEYROTZ,  0,
00208     "set key all z scale",                          MAXCOM_TOOL_SETKEY_HOTKEYSCALEZ,    0,
00209     "set key clear",                                MAXCOM_TOOL_SETKEY_REVERT,  0,
00210     "set key customattributes filter",              MAXCOM_TOOL_SETKEY_CUSTOMATTRIBUTES,    0,
00211     "set key ikparams filter",                      MAXCOM_TOOL_SETKEY_IK_PARAMS,   0,
00212     "set key keys",                                 MAXCOM_TOOL_SETKEY, 0,
00213     "set key materials filter",                     MAXCOM_TOOL_SETKEY_MATERIALS,   0,
00214     "set key mode",                                 MAXCOM_TOOL_SETKEYMODE, 0,
00215     "set key modifiers filter",                     MAXCOM_TOOL_SETKEY_MODIFIERS,   0,
00216     "set key objectparams filter",                  MAXCOM_TOOL_SETKEY_OBJECTPARAMS,    0,
00217     "set key on selected",                          MAXCOM_TOOL_SETKEY_SELECTED,    0,
00218     "set key other filter",                         MAXCOM_TOOL_SETKEY_OTHER,   0,  
00219     "set key position filter",                      MAXCOM_TOOL_SETKEY_POSITION,    0,
00220     "set key rotation filter",                      MAXCOM_TOOL_SETKEY_ROTATION,    0,
00221     "set key scale filter",                         MAXCOM_TOOL_SETKEY_SCALE,   0,  
00222 
00223     "shade selected",           MAXCOM_SHADE_SELECTED,  0,
00224     "show last img",            MAXCOM_SHOW_LAST_IMG,   0,
00225     "show statistics toggle",   MAXCOM_VPT_STATS_TOGGLE,    0,
00226     "show vfb",                 MAXCOM_SHOW_VFB,    0,
00227     "showaxisicon",             MAXCOM_SHOWAXISICON,    0,
00228     "showhomegrid",             MAXCOM_SHOWHOMEGRID,    0,
00229     "snap to frozen object",    MAXCOM_SNAP_SNAP_TO_FROZEN_OBJ, 0,
00230     "snap toggle",              MAXCOM_SNAP_TOGGLE, 0,
00231     "snap use axis constraints",MAXCOM_SNAP_USE_AXIS_CONSTRAINT,    0,
00232     "snapshot",                 MAXCOM_EDIT_SNAPSHOT,   0,
00233     "spacebar",                 MAXCOM_SPACEBAR,    0,
00234     "spacing tool",             MAXCOM_TOOLS_SPACINGTOOL,   0,
00235     "spinsnap toggle",          MAXCOM_SPINSNAP_TOGGLE, 0,
00236     "subobject sel",            MAXCOM_SUBOBJECT_SEL,   0,
00237     "swap layouts",             MAXCOM_SWAP_LAYOUTS,    0,
00238     "texture correct",          MAXCOM_TEXTURE_CORRECT, 0,
00239     "time back",                MAXCOM_TIME_BACK,   MR_DISABLED,
00240     "time config",              MAXCOM_TIME_CONFIG, 0,
00241     "time end",                 MAXCOM_TIME_END,    0,
00242     "time forward",             MAXCOM_TIME_FORWARD,    MR_DISABLED,
00243     "time play",                MAXCOM_TIME_PLAY,   0,
00244     "time start",               MAXCOM_TIME_START,  0,
00245     "toggle ik",                MAXCOM_TOGGLE_IK,   0,
00246     "toggle key mode",          MAXCOM_KEYMODE_TOGGLE,  0,
00247     "toggle keyboard shortcuts",MAXCOM_KBDSHORTCUT_TOGGLE,  0,
00248     "toggle sound",             MAXCOM_TOGGLE_SOUND,    0,
00249     "tool animmode",            MAXCOM_TOOL_ANIMMODE,   0,
00250     "tool center",              MAXCOM_TOOL_CENTER, 0,
00251     "tool dualplanes",          MAXCOM_TOOL_DUALPLANES, 0,
00252     "tool hlist",               MAXCOM_TOOL_HLIST,  0,
00253     "tool maximize",            MAXCOM_TOOL_MAXIMIZE,   0,
00254     "tool region toggle",       MAXCOM_TOOL_REGION_TOGGLE,  0,
00255     "tool walkthrough",         MAXCOM_TOOL_WALKTHROUGH, 0,
00256     "tool x",                   MAXCOM_TOOL_X,  0,
00257     "tool xy",                  MAXCOM_TOOL_XY, 0,
00258     "tool y",                   MAXCOM_TOOL_Y,  0,
00259     "tool z",                   MAXCOM_TOOL_Z,  0,
00260     "tool zoom",                MAXCOM_TOOL_ZOOM,   0,
00261     "tool zoomall",             MAXCOM_TOOL_ZOOMALL,    0,
00262     "tool zoomextents",         MAXCOM_TOOL_ZOOMEXTENTS,    0,
00263     "tool zoomextents all",     MAXCOM_TOOL_ZOOMEXTENTS_ALL,    0,
00264     "tool zoomregion",          MAXCOM_TOOL_ZOOMREGION, 0,
00265     "trajectories",             MAXCOM_TRAJECTORIES,    0,
00266     "treeview",                 MAXCOM_TREEVIEW,    0,
00267     "truck",                    MAXCOM_TRUCK,   0,
00268     "tti",                      MAXCOM_TTI, 0,
00269     "undo",                     MAXCOM_EDIT_UNDO ,  0,
00270     "unfreeze all",             MAXCOM_UNFREEZE_ALL,    0,
00271     "unfreeze by hit",          MAXCOM_UNFREEZE_BY_HIT, 0,
00272     "unfreeze by name",         MAXCOM_UNFREEZE_BY_NAME,    0,
00273     "unhide all",               MAXCOM_UNHIDE_ALL,  0,
00274     "unhide by name",           MAXCOM_UNHIDE_BY_NAME,  0,
00275     "unitsetup",                MAXCOM_UNITSETUP,   0,
00276     "unlink",                   MAXCOM_UNLINK,  0,
00277 #ifndef NO_UTILITY_TASK // russom - 12/06/01
00278     "utility mode",             MAXCOM_UTILITY_MODE,    0,
00279 #endif
00280     "videopost",                MAXCOM_VIDEOPOST,   0,
00281     "view file",                MAXCOM_VIEW_FILE,   0,
00282     "view redo",                MAXCOM_VIEW_REDO,   0,
00283     "viewpreview",              MAXCOM_VIEWPREVIEW, 0,
00284     "views redraw",             MAXCOM_VIEWS_REDRAW,    0,
00285     "views undo",               MAXCOM_VIEWS_UNDO,  0,
00286     "vpt back",                 MAXCOM_VPT_BACK,    0,
00287     "vpt bottom",               MAXCOM_VPT_BOTTOM,  0,
00288     "vpt camera",               MAXCOM_VPT_CAMERA,  0,
00289     "vpt disable",              MAXCOM_VPT_DISABLE, 0,
00290     "vpt front",                MAXCOM_VPT_FRONT,   0,
00291     "vpt grid",                 MAXCOM_VPT_GRID,    0,
00292     "vpt iso user",             MAXCOM_VPT_ISO_USER,    0,
00293     "vpt left",                 MAXCOM_VPT_LEFT,    0,
00294     "vpt ortho user",           MAXCOM_VPT_ISO_USER,    0,
00295     "vpt persp user",           MAXCOM_VPT_PERSP_USER,  0,
00296     "vpt right",                MAXCOM_VPT_RIGHT,   0,
00297     "vpt shape",                MAXCOM_VPT_SHAPE,   0,
00298     "vpt spot",                 MAXCOM_VPT_SPOT,    0,
00299     "vpt tab",                  MAXCOM_VPT_TAB, 0,
00300     "vpt top",                  MAXCOM_VPT_TOP, 0,
00301     "vpt track",                MAXCOM_VPT_TRACK,   0,
00302     "vptconfig",                MAXCOM_VPTCONFIG,   0,
00303     "wire facet",               MAXCOM_WIRE_FACET,  0,
00304     "wire smooth",              MAXCOM_WIRE_SMOOTH, 0,
00305     "zoom in 2x",               MAXCOM_ZOOM_IN_2X,  0,
00306     "zoom in 2x all",           MAXCOM_ZOOM_IN_2X_ALL,  0,
00307     "zoom out 2x",              MAXCOM_ZOOM_OUT_2X, 0,
00308     "zoom out 2x all",          MAXCOM_ZOOM_OUT_2X_ALL, 0,
00309     "zoomext sel",              MAXCOM_ZOOMEXT_SEL, 0,
00310     "zoomext sel all",          MAXCOM_ZOOMEXT_SEL_ALL, 0,
00311 
00312 #pragma warning(pop)
00313