maxcom.h

Go to the documentation of this file.
00001 /*********************************************************************
00002  *<
00003     FILE: #define MAXCOM.h
00004 
00005     DESCRIPTION: Command IDs passed to Interface::Execute#define MAXCOMmand()
00006 
00007     CREATED BY: Rolf Berteig
00008 
00009     HISTORY: Created 3/13/96
00010 
00011  *> Copyright (c) 1994 All Rights Reserved.
00012  **********************************************************************/
00013 
00014 #pragma once
00015 
00019 #define MAXCOM_RESET_FILE               0   
00020 #define MAXCOM_TIME_CONFIG              1
00021 #define MAXCOM_UNFREEZE_BY_HIT          2
00022 #define MAXCOM_BOX_TOGGLE               3
00023 #define MAXCOM_CYCLE_SELECT_METHOD      4
00024 #define MAXCOM_ZOOM_OUT_2X_ALL          5
00025 #define MAXCOM_ZOOM_IN_2X_ALL           6
00026 #define MAXCOM_IZOOM_OUT                7
00027 #define MAXCOM_IZOOM_IN                 8
00028 #define MAXCOM_IPAN                     9
00029 #define MAXCOM_SHOW_LAST_IMG            10
00030 #define MAXCOM_APPLY_IK                 11
00031 #define MAXCOM_KEY_MODE                 12
00032 #define MAXCOM_TOGGLE_IK                13
00033 #define MAXCOM_SHADE_SELECTED           14
00034 #define MAXCOM_SELECT_BY_COLOR          15
00035 #define MAXCOM_ZOOMEXT_SEL              16
00036 #define MAXCOM_ZOOMEXT_SEL_ALL          17
00037 #define MAXCOM_CREATE_MODE              18
00038 #define MAXCOM_MODIFY_MODE              19
00039 #define MAXCOM_HIERARCHY_MODE           20
00040 #define MAXCOM_MOTION_MODE              21
00041 #define MAXCOM_DISPLAY_MODE             22
00042 #define MAXCOM_UTILITY_MODE             23
00043 #define MAXCOM_TEXTURE_CORRECT          24
00044 #define MAXCOM_ZOOM_OUT_2X              25
00045 #define MAXCOM_ZOOM_IN_2X               26
00046 #define MAXCOM_DEF_LGT_TOGGLE           27
00047 #define MAXCOM_VPT_SHAPE                28
00048 #define MAXCOM_GROUP_ATTACH             29
00049 #define MAXCOM_GROUP_DETACH             30
00050 #define MAXCOM_PREV_MOD                 31
00051 #define MAXCOM_NEXT_MOD                 32
00052 #define MAXCOM_SAVEPLUS                 33
00053 #define MAXCOM_VIEW_FILE                34
00054 #define MAXCOM_UNHIDE_BY_NAME           35
00055 #define MAXCOM_UNFREEZE_BY_NAME         36
00056 #define MAXCOM_SPINSNAP_TOGGLE          37
00057 #define MAXCOM_HIDE_INV                 38
00058 #define MAXCOM_FREEZE_INV               39
00059 #define MAXCOM_UNFREEZE_ALL             40
00060 #define MAXCOM_WIRE_SMOOTH              41
00061 #define MAXCOM_WIRE_FACET               42
00062 #define MAXCOM_BOX_MODE                 43
00063 #define MAXCOM_BACKFACE                 44
00064 #define MAXCOM_TRAJECTORIES             45
00065 #define MAXCOM_UNHIDE_ALL               46
00066 #define MAXCOM_SCALE_CYCLE              47
00067 #define MAXCOM_IK_TERMINATOR            48
00068 #define MAXCOM_RENDER_SCENE             49
00069 #define MAXCOM_RENDER_LAST              50
00070 #define MAXCOM_QUICK_RENDER             51
00071 #define MAXCOM_GRID_NUDGE_UP            52
00072 #define MAXCOM_GRID_NUDGE_DOWN          53
00073 #define MAXCOM_CYCLE_SUBLEVEL           54
00074 #define MAXCOM_HIDE_SELECTION           55
00075 #define MAXCOM_FREEZE_SELECTION         56
00076 #define MAXCOM_SHADE_TOGGLE             57
00077 #define MAXCOM_MIRROR                   58
00078 #ifndef NO_TOOL_ARRAY       // russom - 10/22/01
00079     #define MAXCOM_ARRAY                60
00080 #endif
00081 #define MAXCOM_ALIGN                    61
00082 #define MAXCOM_ALIGNNORMALS             62
00083 #define MAXCOM_HOLD                     63
00084 #define MAXCOM_FETCH                    64
00085 #define MAXCOM_SWAP_LAYOUTS             65
00086 #define MAXCOM_SAFEFRAME_TOGGLE         66
00087 #define MAXCOM_FILE_MERGE               67
00088 #define MAXCOM_TIME_BACK                68
00089 #define MAXCOM_TIME_FORWARD             69
00090 #define MAXCOM_TIME_PLAY                70
00091 #define MAXCOM_VIEWS_REDRAW             71
00092 #define MAXCOM_UNITSETUP                72
00093 #define MAXCOM_DRAWINGAIDS              73
00094 #define MAXCOM_SHOWHOMEGRID             74
00095 #define MAXCOM_ACTHOMEGRID              75
00096 #define MAXCOM_ACTGRIDOBJ               76
00097 #define MAXCOM_GRIDS_ALIGN              77
00098 #define MAXCOM_BACKGROUND               78
00099 #define MAXCOM_SHOWAXISICON             79
00100 #define MAXCOM_FULLINTERACT             80
00101 #define MAXCOM_VPTCONFIG                81
00102 #define MAXCOM_VIDEOPOST                82
00103 #define MAXCOM_PREVIEW                  83
00104 #define MAXCOM_VIEWPREVIEW              84
00105 #define MAXCOM_RENAMEPREVIEW            85
00106 #define MAXCOM_TOOL_DUALPLANES          86
00107 #define MAXCOM_LINK                     87
00108 #define MAXCOM_UNLINK                   88
00109 #define MAXCOM_BINDWSM                  89
00110 #define MAXCOM_SELECT                   90
00111 #define MAXCOM_MOVE                     91
00112 #define MAXCOM_ROTATE                   92
00113 #define MAXCOM_SCALE                    93
00114 #define MAXCOM_TREEVIEW                 94
00115 #define MAXCOM_MTLEDIT                  95
00116 #define MAXCOM_PANVIEW                  96
00117 #define MAXCOM_DOLLY                    97
00118 #define MAXCOM_PERSP                    98
00119 #define MAXCOM_ROLL                     99
00120 #define MAXCOM_FOV                      100
00121 #define MAXCOM_TRUCK                    101
00122 #define MAXCOM_PANCAMERA                102
00123 #define MAXCOM_ANGLE_SNAP_TOGGLE        103
00124 #define MAXCOM_EDIT_REDO                104
00125 #define MAXCOM_VIEW_REDO                105
00126 #define MAXCOM_VPT_TRACK                106
00127 #define MAXCOM_VPT_BOTTOM               107
00128 #define MAXCOM_SUBOBJECT_SEL            108
00129 #define MAXCOM_VPT_CAMERA               109
00130 #define MAXCOM_VPT_SPOT                 110
00131 #define MAXCOM_HIDE_CAMERA_TOGGLE       111
00132 #define MAXCOM_VPT_DISABLE              112
00133 #define MAXCOM_VPT_FRONT                113
00134 #define MAXCOM_VPT_GRID                 114
00135 #define MAXCOM_GRID_TOGGLE              115
00136 #define MAXCOM_TOOL_HLIST               116
00137 #define MAXCOM_HIDE_HELPER_TOGGLE       117
00138 #define MAXCOM_VPT_ISO_USER             118
00139 #define MAXCOM_VPT_BACK                 119
00140 #define MAXCOM_VPT_LEFT                 120
00141 #define MAXCOM_HIDE_LIGHT_TOGGLE        121
00142 #define MAXCOM_TOOL_ANIMMODE            122
00143 #define MAXCOM_FILE_NEW                 123
00144 #define MAXCOM_OVERRIDE                 124
00145 #define MAXCOM_FILE_OPEN                125
00146 #define MAXCOM_HIDE_OBJECT_TOGGLE       126
00147 #define MAXCOM_VPT_PERSP_USER           127
00148 #define MAXCOM_ACCEL_PAN                128
00149 #define MAXCOM_HIDE_SHAPE_TOGGLE        129
00150 #define MAXCOM_VPT_RIGHT                130
00151 #define MAXCOM_ROTATEVIEW               131
00152 #define MAXCOM_SNAP_TOGGLE              132
00153 #define MAXCOM_FILE_SAVE                133
00154 #define MAXCOM_FILE_SAVEAS              134
00155 #define MAXCOM_FILE_IMPORT              135
00156 #define MAXCOM_FILE_PREFERENCES         136
00157 #define MAXCOM_HIDE_SYSTEM_TOGGLE       137
00158 #define MAXCOM_VPT_TOP                  138
00159 #define MAXCOM_EDIT_DELETE              139
00160 #define MAXCOM_EDIT_SELECTALL           140
00161 #define MAXCOM_EDIT_SELECTNONE          141
00162 #define MAXCOM_EDIT_SELECTINVERT        142
00163 #define MAXCOM_RNS                      143
00164 #define MAXCOM_TTI                      144
00165 #define MAXCOM_PROPERTIES               145
00166 #define MAXCOM_GROUP_GROUP              146
00167 #define MAXCOM_GROUP_OPEN               147
00168 #define MAXCOM_GROUP_CLOSE              148
00169 #define MAXCOM_GROUP_UNGROUP            149
00170 #define MAXCOM_TIME_END                 150
00171 #define MAXCOM_HELP_ABOUT               151
00172 #define MAXCOM_TOOL_X                   152
00173 #define MAXCOM_TOOL_Y                   153
00174 #define MAXCOM_TOOL_Z                   154
00175 #define MAXCOM_TOOL_XY                  155
00176 #define MAXCOM_TIME_START               156
00177 #define MAXCOM_SELECT_CHILD             157
00178 #define MAXCOM_SELECT_PARENT            158
00179 #define MAXCOM_SPACEBAR                 159
00180 #define MAXCOM_TOOL_MAXIMIZE            160
00181 #define MAXCOM_TOOL_ZOOMREGION          161
00182 #define MAXCOM_HIDE_WSM_TOGGLE          162
00183 #define MAXCOM_TOOL_CENTER              163
00184 #define MAXCOM_TOOL_ZOOM                164
00185 #define MAXCOM_TOOL_ZOOMALL             165
00186 #define MAXCOM_EDIT_UNDO                166
00187 #define MAXCOM_TOOL_ZOOMEXTENTS         167
00188 #define MAXCOM_VIEWS_UNDO               168
00189 #define MAXCOM_TOOL_ZOOMEXTENTS_ALL     169
00190 #define MAXCOM_TOGGLE_SOUND             170
00191 #define MAXCOM_VPT_TAB                  171
00192 #define MAXCOM_VPT_SHIFTTAB             172
00193 #define MAXCOM_CONFIGURE_PATHS          173
00194 #define MAXCOM_ADAPTIVE_PERSP_GRID_TOGGLE   174
00195 #define MAXCOM_TOOL_EDIT_MOD_STACK      175
00196 #define MAXCOM_TOOL_EDGES_ONLY_TOGGLE   176
00197 #define MAXCOM_PERCENT_SNAP_TOGGLE      177
00198 #define MAXCOM_SNAPMODE_TOGGLE          178
00199 #define MAXCOM_RENDER_ATMOSPHERE        179
00200 #define MAXCOM_VIEWS_SAVEACTIVEVIEW     180
00201 #define MAXCOM_VIEWS_RESTOREACTIVEVIEW  181
00202 #define MAXCOM_VIEWS_SHOWDEP            182
00203 #define MAXCOM_FILE_EXPORT              183
00204 #define MAXCOM_EDIT_PLACEHIGHLIGHT      184
00205 #define MAXCOM_EDIT_SNAPSHOT            185
00206 #define MAXCOM_TOOL_REGION_TOGGLE       186
00207 #define MAXCOM_FILE_SUMMARYINFO         187
00208 #define MAXCOM_SCHEMATICVIEW            188
00209 #define MAXCOM_GROUP_EXPLODE            189
00210 #define MAXCOM_FILE_SAVESELECTED        190
00211 #define MAXCOM_FILE_XREFOBJECT          191
00212 #define MAXCOM_FILE_XREFSCENE           192
00213 #define MAXCOM_FILE_REPLACE             193
00214 #define MAXCOM_FILE_INSERTTRACKS        194
00215 #define MAXCOM_FILE_EXPORTSELECTED      195
00216 #define MAXCOM_FILE_ARCHIVE             196
00217 #ifndef NO_TOOL_DISPLAY_FLOATER     // russom - 10/22/01
00218     #define MAXCOM_TOOLS_DISPLAYFLOATER 197
00219 #endif
00220 #define MAXCOM_TOOLS_SELECTIONFLOATER   198
00221 #define MAXCOM_TOOLS_ALIGNCAMERA        199
00222 #define MAXCOM_TOOLS_ALIGNTOVIEW        200
00223 #define MAXCOM_TOOLS_MTLMAPBROWSER      201
00224 #define MAXCOM_TOOLS_SPACINGTOOL        202
00225 #define MAXCOM_CUSTOMIZE_LOADCUI        203
00226 #define MAXCOM_CUSTOMIZE_SAVECUIAS      204
00227 #define MAXCOM_CUSTOMIZE_LOCKUILAYOUT   205
00228 #define MAXCOM_CUSTOMIZE_REVERTCUI      206
00229 #define MAXCOM_CUSTOMIZE_CUSTOMIZEUI    207
00230 #define MAXCOM_KEYMODE_TOGGLE           208
00231 #define MAXCOM_WINDOWCROSSING_TOGGLE    209
00232 #define MAXCOM_KBDSHORTCUT_TOGGLE       210
00233 #define MAXCOM_HIDE_FLOATERS            211
00234 #define MAXCOM_HIDE_CMD_PAN             212
00235 #define MAXCOM_HIDE_SHELF               213
00236 #define MAXCOM_HIDE_MAIN_TB             214
00237 #define MAXCOM_FILE_SAVECOPYAS  215
00238 #define MAXCOM_CUSTOMIZE_CUSTOMIZETP    216
00239 
00240 #ifdef ACAD_MAXSCRIPT_EXTENSIONS
00241 #define MAXCOM_PRS_VIEWS_GRIDSETUP      220
00242 #define MAXCOM_PRS_VIEWS_UNITSETUP      221
00243 #endif
00244 #define MAXCOM_LAUNCH_ASSET_BROWSER     222  // now available in magma - jbw 10.31.00
00245 
00246 //setkey commands
00247 #define MAXCOM_TOOL_SETKEYMODE          225  
00248 #define MAXCOM_TOOL_SETKEY              226
00249 
00250 #define MAXCOM_TOOL_SETKEY_POSITION             227
00251 #define MAXCOM_TOOL_SETKEY_ROTATION             228
00252 #define MAXCOM_TOOL_SETKEY_SCALE                229
00253 #define MAXCOM_TOOL_SETKEY_CUSTOMATTRIBUTES     230
00254 #define MAXCOM_TOOL_SETKEY_IK_PARAMS            231
00255 #define MAXCOM_TOOL_SETKEY_MATERIALS            232
00256 #define MAXCOM_TOOL_SETKEY_MODIFIERS            233
00257 #define MAXCOM_TOOL_SETKEY_OBJECTPARAMS         234
00258 #define MAXCOM_TOOL_SETKEY_SELECTED             235
00259  
00260 #define MAXCOM_TOOL_SETKEY_REVERT           236
00261 #define MAXCOM_TOOL_SETKEY_HOTKEYPRS        237 
00262 #define MAXCOM_TOOL_SETKEY_HOTKEYPOS        238
00263 #define MAXCOM_TOOL_SETKEY_HOTKEYPOSX       239
00264 #define MAXCOM_TOOL_SETKEY_HOTKEYPOSY       240
00265 #define MAXCOM_TOOL_SETKEY_HOTKEYPOSZ       241
00266 #define MAXCOM_TOOL_SETKEY_HOTKEYROT        242
00267 #define MAXCOM_TOOL_SETKEY_HOTKEYROTX       243
00268 #define MAXCOM_TOOL_SETKEY_HOTKEYROTY       244 
00269 #define MAXCOM_TOOL_SETKEY_HOTKEYROTZ       245 
00270 #define MAXCOM_TOOL_SETKEY_HOTKEYSCALE      246 
00271 #define MAXCOM_TOOL_SETKEY_HOTKEYSCALEX     247
00272 #define MAXCOM_TOOL_SETKEY_HOTKEYSCALEY     248
00273 #define MAXCOM_TOOL_SETKEY_HOTKEYSCALEZ     249
00274 
00275 // defined in release 6 and later only
00276 #define MAXCOM_TOOL_SETKEY_ALL              250
00277 #define MAXCOM_TOOL_SETKEY_OTHER            251
00278 #define MAXCOM_TOOL_SETKEY_HOTKEYALL        252
00279 
00280 #define MAXCOM_SNAP_USE_AXIS_CONSTRAINT 253
00281 #define MAXCOM_SNAP_SNAP_TO_FROZEN_OBJ  254
00282 
00283 // defined in release 7 and later only
00284 #define MAXCOM_TOOL_WALKTHROUGH             255
00285 
00286 //define in release 8 and later only
00287 #define MAXCOM_FILE_LOADXMLANIMATION        256
00288 #define MAXCOM_FILE_SAVEXMLANIMATION        257
00289 
00290 //define in release 9 and later only
00291 #define MAXCOM_VPT_STATS_TOGGLE             258
00292 
00293 //defined in release 9.5 and later only
00294 #define MAXCOM_SELECT_NEXTSIBLING           259
00295 #define MAXCOM_SELECT_PREVSIBLING           260
00296 
00297 //defined in release 11 and later only
00298 #define MAXCOM_SHOW_VFB                     261
00299 
00300 
00301 //==============================================================================
00302 //
00303 // IMPORTANT NOTE:
00304 //      Any ID defined in this file should have its counterpart in the
00305 //      maxsdk\include\maxscrpt\max_cmds.h file, in order for the corresponding
00306 //      command to be properly exposed into MaxScript.
00307 //
00308 //==============================================================================
00309 
00310 // these commands are API extensions, not macros
00311 #define MAXCOM_API_START                10000
00312 #define MAXCOM_API_PVW_GRID_OFF         10000
00313 #define MAXCOM_API_PVW_GRID_ON          10001
00314 #define MAXCOM_API_PVW_SMOOTH_MODE      10002
00315 #define MAXCOM_API_PVW_FACET_MODE       10003
00316 #define MAXCOM_API_PVW_WIRE_MODE        10004
00317 #define MAXCOM_API_AXIS_SPACEMODECHANGE 10005
00318 #define MAXCOM_API_AXIS_LOCK            10006
00319 #define MAXCOM_API_GAMMA_PREF           10007
00320