ProcessCommand input list?



  • hello all.
    PoserPython has a 'ProcessCommand' function. It calls for an integer ID of a command.
    I remember having seen lists of commands but I am not sure if they are up to date.
    Is there a list somewhere of the command ID's?
    0_1553707769563_Knipsel.JPG



  • I have a dictionary I wrote for this -
    Process Command



  • OK, found it. Thank you.

    Is there a way to find also the Poser11Pro additions like 'Copy Morphs From ...' and 'Copy joint Zones From ...'?



  • as yet, I have been unable to find the poser pro references, if you manage to get a hold of them, I would appreciate the info so that I can add to the dictionary. Likewise - If I find them, I will let you know.



  • complete list for poser pro:

    File
    5002 :New
    5000 :Open...
    Recent Files
    4 :Close
    5 :Save
    6 :Save As...
    7 :Revert
    Import
    1115 :Background Picture...
    1363 :Background Footage...
    1131 :Poser Document/Prop...
    1567 :LipSync Audio...
    1401 :Sound...
    1388 :BVH motion...
    Export
    1791 :Partial Scene...
    1792 :Morph Injection...
    1192 :Image...
    1158 :RIB...
    1403 :BVH motion...
    1506 :Run Python Script...
    1389 :Convert Hier File...
    1796 :Install From ZIP Archive...
    8 :Page Setup...
    9 :Print...
    5006 :Exit
    16 :Undo
    17 :Redo
    5031 :Cut
    5032 :Copy
    5033 :Paste
    1898 :Replace
    1486 :Copy Picture
    1568 :Duplicate Object/Figure
    1793 :Previous Selection
    1794 :Next Selection
    Memorize
    1277 :Object
    1278 :Figure
    1280 :Lights
    1279 :Camera
    -2 :-
    1281 :All
    Restore
    1036 :Object
    1107 :Figure
    1106 :Lights
    1275 :Camera
    1043 :All
    5022 :General Preferences...
    Edit
    Figure
    Skinning Method
    1708 :Poser Traditional
    1729 :Poser Unimesh
    Figure Height
    1152 :Baby
    1153 :Toddler
    1154 :Child
    1155 :Juvenile
    1148 :Adolescent
    1149 :Ideal Adult
    1150 :Fashion Model
    1156 :Heroic Model
    1402 :Set Figure Parent...
    1475 :Conform To...
    1484 :Create Full Body Morph...
    1718 :Copy Joint Zones From...
    Use Inverse Kinematics
    1089 :Use Limits
    1370 :Genitalia
    1394 :Auto Balance
    1492 :Lock Figure
    1442 :Lock Hand Parts
    1205 :Drop to Floor
    Symmetry
    1074 :Left to Right
    1075 :Right to Left
    1373 :Swap Right and Left
    1110 :Left Arm to Right Arm
    1108 :Right Arm to Left Arm
    1371 :Swap Right and Left Arms
    1111 :Left Leg to Right Leg
    1109 :Right Leg to Left Leg
    1372 :Swap Right and Left Legs
    1112 :Straighten Torso
    1602 :Zero Figure
    1135 :Delete Figure
    1133 :Hide Figure
    1134 :Show All Figures
    1400 :Create Walk Path
    1904 :Path Palette
    Object
    1378 :Properties...
    1491 :Lock Object
    1294 :Change Parent...
    1715 :Add Constraint...
    1487 :Point At...
    1304 :Replace Body Part with Prop
    1485 :Load Morph Target...
    1742 :Copy Morphs From...
    1483 :Spawn Morph Target...
    1735 :Spawn Prop from Convex Hull
    1761 :Reduce Polygons...
    1790 :Convert Prop to Control Handle...
    1714 :Create Grouping
    Create Light
    1479 :Spot
    1570 :Infinite
    1571 :Point
    1572 :Diffuse IBL
    1768 :Area
    Create Camera
    1565 :Revolving
    1566 :Dolly
    1462 :Create Magnet
    1468 :Create Wave
    1528 :Create Wind Force
    1789 :Create Text Prop...
    Create Measurement
    1746 :Create Line
    1747 :Create Angle
    1748 :Create Circle
    1749 :Create Polyline
    1255 :Delete Object
    1905 :Path Palette
    1725 :Export Object Mesh To GoZ...
    Display
    Camera View
    1024 :Main Camera
    1480 :Aux Camera
    1374 :From Left
    1029 :From Right
    1028 :From Top
    1481 :From Bottom
    1027 :From Front
    1482 :From Back
    1398 :Face Camera
    1376 :Posing Camera
    1397 :Right Hand Camera
    1396 :Left Hand Camera
    1375 :Dolly Camera
    Camera Layout
    1517 :Full Port
    1510 :Four Ports
    1513 :Three Ports - Big Top
    1514 :Three Ports - Big Bottom
    1511 :Three Ports - Big Left
    1512 :Three Ports - Big Right
    1515 :Two Ports - Left/Right
    1516 :Two Ports - Top/Bottom
    1399 :Fly Around
    1712 :Frame Selected
    1711 :Orbit Selected Mode
    1519 :Show Camera Names
    1544 :Production Frame
    Document Style
    1041 :Silhouette
    1040 :Outline
    1097 :Wireframe
    1045 :Hidden Line
    1084 :Lit Wireframe
    1392 :Flat Shaded
    1499 :Flat Shaded Lined
    1501 :Cartoon
    1393 :Cartoon w/Lines
    1083 :Smooth Shaded
    1500 :Smooth Shaded Lined
    1408 :Texture Shaded
    Figure Style
    1438 :Use Document Style
    1432 :Silhouette
    1431 :Outline
    1430 :Wireframe
    1433 :Hidden Line
    1435 :Lit Wireframe
    1437 :Flat Shaded
    1496 :Flat Shaded Lined
    1498 :Cartoon
    1436 :Cartoon w/Lines
    1434 :Smooth Shaded
    1497 :Smooth Shaded Lined
    1410 :Texture Shaded
    Object Style
    1429 :Use Figure Style
    1423 :Silhouette
    1422 :Outline
    1421 :Wireframe
    1424 :Hidden Line
    1426 :Lit Wireframe
    1428 :Flat Shaded
    1493 :Flat Shaded Lined
    1495 :Cartoon
    1427 :Cartoon w/Lines
    1425 :Smooth Shaded
    1494 :Smooth Shaded Lined
    1409 :Texture Shaded
    1044 :Depth Cued
    Tracking
    1092 :Bounding Boxes Only
    1031 :Fast Tracking
    1420 :Full Tracking
    Deformers
    1470 :Show All
    1471 :Hide All
    1472 :Show Current selection only
    1406 :Ground Shadows
    1460 :Figure Circle
    1216 :Bend Body Parts
    1270 :Foreground Color...
    1269 :Background Color...
    1051 :Show Background Picture
    1053 :Clear Background Picture
    1052 :Paste onto Background
    1361 :Show Background Footage
    1362 :Clear Background Footage
    1533 :Use Background Shader Node
    Guides
    1047 :Ground Plane
    1048 :Head Lengths
    1049 :Hip-Shoulder Relationship
    1146 :Horizon Line
    1050 :Vanishing Lines
    1548 :Focus Distance Guide
    Preview Drawing
    1550 :OpenGL Hardware
    1551 :SreeD Software
    Cartoon Settings
    1552 :One Tone
    1553 :Two Tones
    1554 :Three Tones
    1555 :Three Tones + Hilight
    1557 :Smooth Toned
    1737 :Comic Book
    1738 :Comic Book (Color)
    1795 :Geometric Edge Lines
    Measurement Mode
    1743 :Off
    1744 :Display
    1745 :Edit
    Render
    1267 :Render
    1562 :Area Render
    1466 :Sketch Style Render
    1461 :Antialias Document
    1508 :MotionBlur Document
    1225 :Render Settings...
    1563 :Render Dimensions...
    1265 :Materials...
    1559 :Reload Textures
    1560 :Reuse Shadow Maps
    1561 :Clear Shadow Maps
    Animation
    1312 :Make Movie...
    Recalculate Dynamics
    1536 :All Cloth
    1537 :All Hair
    1741 :All Bullet Physics
    1535 :All
    1380 :Retime Animation...
    1404 :Resample Key Frames...
    Bake Transforms
    1752 :Current Object
    1753 :Current Figure
    1754 :Entire Scene
    1395 :Loop Interpolation
    1405 :Quaternion Interpolation
    1415 :Skip Frames
    1413 :Mute Sound
    1414 :Clear Sound
    1407 :Play Movie File...
    Window
    1176 :Animation Palette
    Graph
    1201 :Libraries
    1488 :Hierarchy Editor
    1387 :Joint Editor
    1465 :Sketch Designer...
    1390 :Walk Designer
    1906 :Path Palette
    1907 :Keyframe Category List
    1569 :Talk Designer
    1750 :Anthropometry
    1509 :Python Scripts
    1522 :Room Help
    1573 :Quick Start...
    1574 :Project Guide
    1601 :Recent Renders
    1733 :Bullet Physics Controls
    1416 :Camera Controls
    1418 :Preview Styles
    1274 :Editing Tools
    1417 :Light Controls
    1419 :Memory Dots
    1178 :Parameter Dials
    1459 :Animation Controls
    1730 :Log
    1902 :Notifications
    Custom Parameters Palette
    1777 :New
    1900 :Remove All
    1731 :Raytrace Preview
    Room Tools
    Material
    1583 :Material Palette
    Face
    1584 :Face Preview
    1585 :Photo Lineup
    1586 :Texture Preview
    1587 :Face Texture Tool
    1588 :Face Shaping Tool
    Hair
    1589 :Hair Growth Groups
    1590 :Growth Controls
    1591 :Styling Controls
    1592 :Dynamics Controls
    Cloth
    1593 :Cloth Simulation
    1594 :Cloth
    1595 :Cloth Groups
    1596 :Dynamics Controls
    Fitting
    1734 :Fitting Sessions
    1204 :Document Window Size...
    Scripts
    Help
    19997 :Poser Reference Manual...
    19998 :Poser Tutorial Manual...
    19999 :PoserPython Manual...
    5014 :About Poser
    19996 :Personalize...
    Skinning Method
    1708 :Poser Traditional
    1729 :Poser Unimesh
    1709 :Simple Bones Single Skin - Interoperable
    1719 :Regenerate Simple Bones Single Skin Weights
    Figure Height
    1152 :Baby
    1153 :Toddler
    1154 :Child
    1155 :Juvenile
    1148 :Adolescent
    1149 :Ideal Adult
    1150 :Fashion Model
    1156 :Heroic Model
    1402 :Set Figure Parent...
    1475 :Conform To...
    1757 :Combine Figures...
    1759 :Find Unseen Polygons...
    1756 :Reduce Polygons...
    Use Inverse Kinematics
    1089 :Use Limits
    1370 :Genitalia
    1394 :Auto Balance
    1492 :Lock Figure
    1442 :Lock Hand Parts
    1484 :Create Full Body Morph...
    1767 :Spawn Full Body Morph...
    1600 :Load Full Body Morph...
    1739 :Copy Morphs From...
    1762 :Copy Measurements From...
    1718 :Copy Joint Zones From...
    1740 :Merge All Zones To Weight Maps
    1205 :Drop to Floor
    Pose Symmetry
    1074 :Left to Right
    1075 :Right to Left
    1373 :Swap Right and Left
    1110 :Left Arm to Right Arm
    1108 :Right Arm to Left Arm
    1371 :Swap Right and Left Arms
    1111 :Left Leg to Right Leg
    1109 :Right Leg to Left Leg
    1372 :Swap Right and Left Legs
    1112 :Straighten Torso
    1769 :Custom...
    Rig Symmetry
    1770 :Left to Right
    1771 :Right to Left
    1772 :Left Arm to Right Arm
    1773 :Right Arm to Left Arm
    1774 :Left Leg to Right Leg
    1775 :Right Leg to Left Leg
    1776 :Custom...
    1602 :Zero Figure
    1751 :Apply Motion From Groupings
    1135 :Delete Figure
    1133 :Hide Figure
    1134 :Show All Figures
    1400 :Create Walk Path
    1904 :Path Palette
    1726 :Export Figure Mesh To GoZ...
    1267 :Render
    1562 :Area Render
    1578 :Render In Background
    1581 :Render In Queue
    1466 :Sketch Style Render
    1461 :Antialias Document
    1508 :MotionBlur Document
    1225 :Render Settings...
    1563 :Render Dimensions...
    1265 :Materials...
    1559 :Reload Textures
    1560 :Reuse Shadow Maps
    1561 :Clear Shadow Maps
    Help
    19997 :Poser Reference Manual...
    19998 :Poser Tutorial Manual...
    19999 :PoserPython Manual...
    5014 :About Poser
    19996 :Personalize...



  • @structure I'll include something similar to this in our new documentation. I should let everyone know that ProcessCommand may call commands differently in 11.1.1 and 12. Prior to this, commands were only processed through a specific DoCommand function. However, since 11.1.1 and in 12, ProcessCommands will be dispatched to all DoCommand functions until the proper command is found. Those commands are on App and Doc levels. This was done to help simplify command dispatching inside Poser.



  • @f_verbaas

    This is the un-formatted list of commands. I will put them into a table in our new documentation. Ignore the "L" after a number, it means "Long Integer" but should be removed. Anything commented out means it's probably not used anymore. It's interesting that @structure found the About Box. This means other commands may not be in this list. I'll try to track them down when I make the final documentation.

    // C O M M A N D S

    const int cmdNull = 0; // Command which does nothing

    const int cmdOK = 100; // OK button in dialog box
    const int cmdCancel = 101; // Cancel button in dialog box

    const int cmdAbout = 256; // About Application request

    // Standard File Menu commands
    const int cmdQuit = 1;
    const int cmdNew = 2;
    const int cmdOpen = 3;
    const int cmdClose = 4;
    const int cmdSave = 5;
    const int cmdSaveAs = 6;
    const int cmdRevert = 7;
    const int cmdPageSetup = 8;
    const int cmdPrint = 9;

    // Standard Edit Menu commands
    const int cmdUndo = 16;
    const int cmdRedo = 17; //added - jack 11/29/05
    const int cmdCut = 18;
    const int cmdCopy = 19;
    const int cmdPaste = 20;
    const int cmdClear = 21;
    const int cmdToggleClip = 22; // Show or Hide the Clipbord window
    const int cmdSelectAll = 23;

    // Text Styles
    const int cmdPlain = 30;
    const int cmdBold = 31;
    const int cmdItalic = 32;
    const int cmdUnderline = 33;
    const int cmdOutline = 34;
    const int cmdShadow = 35;
    const int cmdCondense = 36;
    const int cmdExtend = 37;

    // Text Alignment
    const int cmdAlignRight = 40;
    const int cmdAlignLeft = 41;
    const int cmdAlignCenter = 42;
    const int cmdJustify = 43;

    // Line Spacing
    const int cmdSingleSpace = 50;
    const int cmd1HalfSpace = 51;
    const int cmdDoubleSpace = 52;

    const long cmdAllowDeviceDependentBitmap = 60;

    #define MENUtools 101
    #define MENUparm 102
    #define INIT_BUTTON_RESOURCE 130
    #define MENUmovie 137

    								/**  Manny specific commands **/
    

    #define cmdPerspective 1024L
    #define cmdOrthographic 1025L
    #define cmdResetCamera 1026L
    #define cmdFrontView 1027L
    #define cmdTopView 1028L
    #define cmdSideView 1029L
    #define cmdBackfaceCull 1030L
    #define cmdFastTracking 1031L
    #define cmdReDrawDoc 1032L
    #define cmdNextActor 1033L
    ///#define cmdPrevActor 1034L
    #define cmdActorMenuPick 1035L
    #define cmdInitActor 1036L
    #define cmdGetNewActorParms 1037L
    #define cmdGetNewActorList 1038L
    #define cmdDocumentClosed 1039L
    #define cmdEdgesOnly 1040L
    #define cmdSilhouette 1041L
    #define cmdActorOnOff 1042L
    #define cmdInitAllActors 1043L
    #define cmdDepthCue 1044L
    #define cmdHiddenLine 1045L
    #define cmdBoundingBox 1046L
    #define cmdGround 1047L
    #define cmdHeadGuides 1048L
    #define cmdHipShoulder 1049L
    #define cmdVanishingLines 1050L
    #define cmdBgShow 1051L
    #define cmdBgAddTo 1052L
    #define cmdBgClear 1053L
    ///#define cmdBgNew 1054L
    ///#define cmdTrackingBoxes 1055L
    #define cmdTrackingLessLines 1056L
    ///#define cmdTrackingSimple 1057L
    ///#define cmdTrackingFull 1058L
    #define cmdSelectCamera 1059L
    #define cmdReadParms 1060L
    #define cmdOneCam 1061L
    #define cmdFourCams 1062L
    ///#define cmdUpdateCurrentParm 1063L
    ///#define cmdValueTextChanged 1064L
    ///#define cmdInitParm 1065L
    ///#define cmdUpdateParmValues 1066L
    #define cmdBlackBackground 1067L
    #define cmdWhiteBackground 1068L
    #define cmdBGColorMenu 1069L
    #define cmdInitDynamics 1070L
    #define cmdEndDynamics 1071L
    #define cmdForceRedrawAll 1072L
    #define cmdSymmetry 1073L
    #define cmdSymmetryLeftToRight 1074L
    #define cmdSymmetryRightToLeft 1075L
    #define cmdSelectLastNonCamera 1076L
    #define cmdDatabaseMaleSkeleton 1077L
    #define cmdDatabaseMaleBody 1078L
    #define cmdDatabaseFemaleSkeleton 1079L
    #define cmdDatabaseFemaleBody 1080L
    #define cmdDatabaseChildSkeleton 1081L
    #define cmdDatabaseChildBody 1082L
    #define cmdShaded 1083L
    #define cmdShadedOutlined 1084L
    #define cmdSmoothShaded 1085L
    #define cmdLight1 1086L
    #define cmdLight2 1087L
    #define cmdLight3 1088L
    #define cmdUseLimits 1089L
    #define cmdNoParmUpdates 1090L
    #define cmdParmUpdates 1091L
    #define cmdBoxesAlways 1092L
    #define cmdExportImageToClip 1093L
    #define cmdSetDocDirty 1094L
    #define cmdDisplayStyle 1095L
    #define cmdLightDisplay 1096L
    #define cmdWireframe 1097L
    #define cmdAddBall 1098L
    #define cmdAddStairs 1099L
    #define cmdAddBox 1100L
    #define cmdProps 1101L
    #define cmdDatabaseMaleStick 1102L
    #define cmdDatabaseFemaleStick 1103L
    #define cmdDatabaseChildStick 1104L
    #define cmdAddCane 1105L
    #define cmdInitAllLights 1106L
    #define cmdInitAllBodyParts 1107L
    #define cmdSymmetryTopRightToLeft 1108L
    #define cmdSymmetryBotRightToLeft 1109L
    #define cmdSymmetryTopLeftToRight 1110L
    #define cmdSymmetryBotLeftToRight 1111L
    #define cmdSymmetryStraightBody 1112L
    #define cmdInitMenu 1113L
    #define cmdDrawOffscreen 1114L
    #define cmdReadBgPict 1115L /// Import Background Picture...
    ///#define cmdWritePict 1116L
    #define cmdSetWatchCursor 1117L
    #define cmdSetBarCursor 1118L
    #define cmdSetArrowCursor 1119L
    #define cmdNewFigureMaleBody 1120L
    #define cmdNewFigureMaleSkeleton 1121L
    #define cmdNewFigureMaleStick 1122L
    #define cmdNewFigureFemaleBody 1123L
    #define cmdNewFigureFemaleSkeleton 1124L
    #define cmdNewFigureFemaleStick 1125L
    #define cmdNewFigureChildBody 1126L
    #define cmdNewFigureChildSkeleton 1127L
    #define cmdNewFigureChildStick 1128L
    #define cmdNewFigureMenu 1129L
    #define cmdChangeFigureMenu 1130L
    #define cmdAppendOtherFile 1131L
    #define cmdInitAllFigures 1132L
    #define cmdHideFigure 1133L
    #define cmdShowFigure 1134L
    #define cmdDeleteFigure 1135L
    #define cmdSetRootActorWaist 1136L
    #define cmdSetRootActorHip 1137L
    #define cmdSetRootActorAbdomen 1138L
    #define cmdSetRootActorRFoot 1139L
    #define cmdSetRootActorLFoot 1140L
    #define cmdSetRootActorRHand 1141L
    #define cmdSetRootActorLHand 1142L
    #define cmdSetRootActorHead 1143L
    #define cmdSetRootActorMenu 1144L
    #define cmdUpdateHappened 1145L
    #define cmdHorizon 1146L
    #define cmdCanonMenu 1147L
    #define cmdCanon7_5Heads 1148L
    #define cmdCanon8Heads 1149L
    #define cmdCanon8_5Heads 1150L
    #define cmdSaveCurrentAsInit 1151L
    #define cmdCanon4Heads 1152L
    #define cmdCanon5Heads 1153L
    #define cmdCanon6Heads 1154L
    #define cmdCanon7Heads 1155L
    #define cmdCanon9Heads 1156L
    #define cmdCanon10Heads 1157L
    #define cmdExportAsRIBFile 1158L
    #define cmdExportAsRIBEntity 1159L
    #define cmdExportAsDXFFile 1160L
    #define cmdExportMenu 1161L
    #define cmdExportAsOBJ 1162L
    #define cmdMoviePlay 1163L
    #define cmdMovieLoop 1164L
    #define cmdMovieStop 1165L
    #define cmdMovieNextFrame 1166L
    #define cmdMoviePrevFrame 1167L
    #define cmdMovieNextKey 1168L
    #define cmdMoviePrevKey 1169L
    #define cmdMovieFirstFrame 1170L
    #define cmdMovieEndFrame 1171L
    #define cmdMovieSetLoopStart 1172L
    #define cmdMovieSetLoopEnd 1173L
    #define cmdMovieNextKeyPropagate 1175L
    #define cmdMovieToggleControls 1176L
    #define cmdExpandParms 1177L
    #define cmdParmToggleControls 1178L

    #define cmdMovieNextPropagate 1174L
    #define cmdMovieNextPropagateActorOnly 1179L
    #define cmdMovieForwPropagateActorOnly 1180L
    #define cmdMovieForwPropagate 1181L

    #define cmdMoviePropagateMenu 1182L
    #define cmdMoviePropagateAllMenu 1183L
    #define cmdMoviePropagateActorMenu 1184L

    #define cmdMovieSetAutoPropagateAll 1185L
    #define cmdMovieSetAutoPropagateActor 1186L

    #define cmdMovieDeleteFrame 1187L

    #define cmdMoviePrevPropagate 1188L
    #define cmdMoviePrevPropagateActorOnly 1189L
    #define cmdMovieBackPropagateActorOnly 1190L
    #define cmdMovieBackPropagateAll 1191L

    #define cmdExportAsPICTfile 1192L
    #define cmdMovieSaveQuicktime 1193L

    ///#define cmdCharacterRename 1194L
    ///#define cmdCharacterUse 1195L
    ///#define cmdCharacterSave 1196L
    ///#define cmdCharacterDelete 1197L
    #define cmdCharacterSortAscending 1198L
    #define cmdCharacterSortDescending 1199L
    #define cmdCharacterDone 1200L
    #define cmdLibraries 1201L
    ///#define cmdCharacterPickLibrary 1202L
    ///#define cmdCharacterNewLibrary 1203L

    #define cmdSetAspect 1204L
    #define cmdDropToFloor 1205L

    /// rearch sba 6/26/97 Don't believe these are used
    ///#define cmdPoseRename 1206L
    ///#define cmdPoseUse 1207L
    ///#define cmdPoseSave 1208L
    ///#define cmdPoseDelete 1209L
    ///#define cmdPoseSortAscending 1210L
    ///#define cmdPoseSortDescending 1211L
    ///#define cmdPoseDone 1212L
    ///#define cmdPoseControls 1213L
    ///#define cmdPosePickLibrary 1214L
    ///#define cmdPoseNewLibrary 1215L

    #define cmdDisplayBentParts 1216L

    #define cmdDatabaseManikin 1217L
    #define cmdNewFigureManikin 1218L

    #define cmdGetRenderParms 1219L
    #define cmdDrawCurrentName 1220L
    #define cmdSetTexturePict 1221L
    #define cmdSetBumpPict 1222L

    #define cmdConvertPictToBump 1223L
    #define cmdMuscleRender 1224L
    #define cmdCustomRender 1225L
    #define cmdMuscleRenderAnti 1226L
    #define cmdMuscleRenderNonAnti 1227L
    #define cmdSmoothRenderAnti 1228L
    #define cmdSmoothRenderNonAnti 1229L
    #define cmdShowShortCuts 1230L

    #define cmdMaleLeftHand 1231L
    #define cmdMaleRightHand 1232L
    ///#define cmdFemaleLeftHand 1233L
    ///#define cmdFemaleRightHand 1234L

    #define cmdMaleLeftHandTaut 1235L
    #define cmdMaleLeftHandRelaxed 1236L
    #define cmdMaleLeftHandFist 1237L
    #define cmdMaleLeftHandPoint 1238L
    #define cmdMaleLeftHandFlat 1239L

    #define cmdMaleRightHandTaut 1240L
    #define cmdMaleRightHandRelaxed 1241L
    #define cmdMaleRightHandFist 1242L
    #define cmdMaleRightHandPoint 1243L
    #define cmdMaleRightHandFlat 1244L

    ///#define cmdFemaleLeftHandTaut 1246L
    ///#define cmdFemaleLeftHandRelaxed 1246L
    ///#define cmdFemaleLeftHandFist 1247L
    ///#define cmdFemaleLeftHandPoint 1248L
    ///#define cmdFemaleLeftHandFlat 1249L

    ///#define cmdFemaleRightHandTaut 1250L
    ///#define cmdFemaleRightHandRelaxed 1251L
    ///#define cmdFemaleRightHandFist 1252L
    ///#define cmdFemaleRightHandPoint 1253L
    ///#define cmdFemaleRightHandFlat 1254L

    #define cmdDeleteProp 1255L
    #define cmdMatchBGSize 1256L
    #define cmdPreferences 1257L
    #define cmdImport 1258L
    ///#define cmdImportDXF 1259L
    #define cmdCameraMenu 1260L
    #define cmdLightsMenu 1261L
    #define cmdGuidesMenu 1262L
    #define cmdHideProps 1263L
    #define cmdShowProps 1264L
    #define cmdApplySurface 1265L
    #define cmdRenderOptions 1266L
    #define cmdDoRender 1267L
    #define cmdApply 1268L

    #define cmdSetBGColor 1269L
    #define cmdSetFGColor 1270L
    //#define cmdSetDiffuseColor 1271L
    //#define cmdSetSpecularColor 1272L
    #define cmdRenderMenu 1273L
    #define cmdToolsPalette 1274L
    #define cmdInitCamera 1275L
    ///#define cmdRenameFigure 1276L

    #define cmdMemorizeObject 1277L
    #define cmdMemorizeFigure 1278L
    #define cmdMemorizeCamera 1279L
    #define cmdMemorizeLights 1280L
    #define cmdMemorizeAll 1281L
    #define cmdMemorizeMenu 1282L
    #define cmdExportAs3DMFFile 1283L
    #define cmdExportAs3DMFScrap 1284L

    #define cmdMovieAddKeyFrame 1285L
    #define cmdMovieDelKeyFrame 1286L
    #define cmdMovieInterpolateActor 1287L
    #define cmdMovieInterpolateFigure 1288L
    #define cmdMovieNextKeyAny 1289L
    #define cmdMoviePrevKeyAny 1290L
    #define cmdMovieDelKeyAll 1291L
    #define cmdMovieAddKeyAll 1292L
    #define cmdDrawQD3D 1293L
    #define cmdChooseParent 1294L
    ///#define cmdImportPropMenu 1295L
    ///#define cmdImportObj 1296L
    ///#define cmdImportPropMenu2 1297L
    ///#define cmdImportObj2 1298L
    ///#define cmdImportDXF2 1299L
    // These are previous values for windows build. Should these numbers
    // just be bumped to the end of the list (ie 1300, 1301, 1302) or should
    // they stay seperate? Assume that these can follow those above. SBA 5/7/96
    // #define cmdExportAsBMP 1285L
    // #define cmdExportAsTIF 1286L
    // #define cmdNoDeviceDependentBitmap 1287l
    #define cmdExportAsBMP 1300L
    #define cmdExportAsTIF 1301L
    ///#define cmdNoDeviceDependentBitmap 1302L
    #define cmdInkyToggle 1303L
    #define cmdReplaceBodyPart 1304L
    #define cmdTogglePropOriginDisplay 1305L
    #define cmdAnimationSetup 1306L
    ///#define cmdMakeMovie 1307L
    #define cmdGroupKeyFrames 1308L
    ///#define cmdImportQTMovie 1309L
    #define cmdOpenKeyframe 1310L
    #define cmdQuickPreview 1311L
    #define cmdMakeMovie2 1312L

    #define cmdDatabaseMaleNudeHi 1313L
    #define cmdDatabaseMaleNudeLo 1314L
    #define cmdDatabaseMaleSuitHi 1315L
    #define cmdDatabaseMaleSuitLo 1316L
    #define cmdDatabaseMaleCasHi 1317L
    #define cmdDatabaseMaleCasLo 1318L

    #define cmdDatabaseFemaleNudeHi 1319L
    #define cmdDatabaseFemaleNudeLo 1320L
    #define cmdDatabaseFemaleSuitHi 1321L
    #define cmdDatabaseFemaleSuitLo 1322L
    #define cmdDatabaseFemaleCasHi 1323L
    #define cmdDatabaseFemaleCasLo 1324L

    #define cmdDatabaseChildNudeHi 1325L
    #define cmdDatabaseChildNudeLo 1326L
    #define cmdDatabaseChildCasHi 1327L
    #define cmdDatabaseChildCasLo 1328L

    #define cmdNewFigureMaleNudeHi 1329L
    #define cmdNewFigureMaleNudeLo 1330L
    #define cmdNewFigureMaleSuitHi 1331L
    #define cmdNewFigureMaleSuitLo 1332L
    #define cmdNewFigureMaleCasHi 1333L
    #define cmdNewFigureMaleCasLo 1334L

    #define cmdNewFigureFemaleNudeHi 1335L
    #define cmdNewFigureFemaleNudeLo 1336L
    #define cmdNewFigureFemaleSuitHi 1337L
    #define cmdNewFigureFemaleSuitLo 1338L
    #define cmdNewFigureFemaleCasHi 1339L
    #define cmdNewFigureFemaleCasLo 1340L

    #define cmdNewFigureChildNudeHi 1341L
    #define cmdNewFigureChildNudeLo 1342L
    #define cmdNewFigureChildCasHi 1343L
    #define cmdNewFigureChildCasLo 1344L

    ///#define cmdNewFigureMaleNudeMenu 1345L
    ///#define cmdNewFigureMaleSuitMenu 1346L
    ///#define cmdNewFigureMaleCasMenu 1347L
    ///#define cmdNewFigureFemaleNudeMenu 1348L
    ///#define cmdNewFigureFemaleSuitMenu 1349L
    ///#define cmdNewFigureFemaleCasMenu 1350L
    ///#define cmdNewFigureChildNudeMenu 1351L
    ///#define cmdNewFigureChildCasMenu 1352L

    ///#define cmdDatabaseMaleNudeMenu 1353L
    ///#define cmdDatabaseMaleSuitMenu 1354L
    ///#define cmdDatabaseMaleCasMenu 1355L
    ///#define cmdDatabaseFemaleNudeMenu 1356L
    ///#define cmdDatabaseFemaleSuitMenu 1357L
    ///#define cmdDatabaseFemaleCasMenu 1358L
    ///#define cmdDatabaseChildNudeMenu 1359L
    ///#define cmdDatabaseChildCasMenu 1360L

    #define cmdQTBgShow 1361L
    #define cmdQTBgClear 1362L
    #define cmdImportQTMovie2 1363L /// Import Background Footage...
    ///#define cmdMatchQTBgSize 1364L // use this, or cmdMatchBGSize ?
    #define cmdCurrentObjectOptions 1365L
    #define cmdCurrentFigureOptions 1366L
    #define cmdCurrentCameraOptions 1367L
    #define cmdCurrentLightOptions 1368L
    #define cmdOptionsMenu 1369L
    #define cmdGenitalia 1370L
    #define cmdSymmetrySwapTop 1371L
    #define cmdSymmetrySwapBottom 1372L
    #define cmdSymmetrySwapAll 1373L
    #define cmdLeftView 1374L
    #define cmdDollyView 1375L
    #define cmdPosingView 1376L
    #define cmdSetAmbientColor 1377L
    #define cmdProperties 1378L
    #define cmdImportPoser1Library 1379L
    #define cmdRetimeFigureKeys 1380L
    #define cmdAddTorus 1381L
    #define cmdAddCone 1382L
    #define cmdAddCyl 1383L
    #define cmdAddSquare 1384L
    #define cmdMovieStopReturn 1385L
    #define cmdLoadPresets 1386L
    #define cmdEditJoint 1387L
    #define cmdImportBVH 1388L
    #define cmdConvertHierFile 1389L
    #define cmdShowWalkDesigner 1390L
    #define cmdOpenParmGraph 1391L
    #define cmdFlatShaded 1392L
    #define cmdSketchShaded 1393L
    #define cmdDoBalance 1394L
    #define cmdLoopInterpolation 1395L
    #define cmdLHandCamera 1396L
    #define cmdRHandCamera 1397L
    #define cmdFaceCamera 1398L
    #define cmdFlyAround 1399L
    #define cmdCreateWalkPath 1400L
    #define cmdImportSound 1401L
    #define cmdSetFigParent 1402L
    #define cmdExportBVH 1403L
    #define cmdReduceKeys 1404L
    #define cmdQuaternionInterpolation 1405L
    #define cmdGroundShadow 1406L
    #define cmdPlayMovieFile 1407L
    #define cmdTextureShaded 1408L
    #define cmdActorStyleTextureShaded 1409L
    #define cmdFigureStyleTextureShaded 1410L
    #define cmdSelectPaint 1411L
    #define cmdPaperTextureNone 1412L
    #define cmdPlaySound 1413L
    #define cmdClearSound 1414L
    #define cmdSkipFrames 1415L
    #define cmdCameraTools 1416L
    #define cmdLightTools 1417L
    #define cmdDisplayTools 1418L
    #define cmdDotTools 1419L
    #define cmdFullTracking 1420L
    #define cmdActorStyleWireframe 1421L
    #define cmdActorStyleEdgesOnly 1422L
    #define cmdActorStyleSilhouette 1423L
    #define cmdActorStyleHiddenLine 1424L
    #define cmdActorStyleSmoothShaded 1425L
    #define cmdActorStyleShadedOutlined 1426L
    #define cmdActorStyleSketchShaded 1427L
    #define cmdActorStyleFlatShaded 1428L
    #define cmdActorStyleUseParent 1429L
    #define cmdFigureStyleWireframe 1430L
    #define cmdFigureStyleEdgesOnly 1431L
    #define cmdFigureStyleSilhouette 1432L
    #define cmdFigureStyleHiddenLine 1433L
    #define cmdFigureStyleSmoothShaded 1434L
    #define cmdFigureStyleShadedOutlined 1435L
    #define cmdFigureStyleSketchShaded 1436L
    #define cmdFigureStyleFlatShaded 1437L
    #define cmdFigureStyleUseParent 1438L
    #define cmdDocumentStyleMenu 1439L
    #define cmdFigureStyleMenu 1440L
    #define cmdActorStyleMenu 1441L
    #define cmdHandLock 1442L
    #define cmdPaperTextureMenu 1443L
    #define cmdPaperTexture1 1444L
    #define cmdPaperTexture2 1445L
    #define cmdPaperTexture3 1446L
    #define cmdPaperTexture4 1447L
    #define cmdPaperTexture5 1448L
    #define cmdPaperTexture6 1449L
    #define cmdPaperTexture7 1450L
    #define cmdPaperTexture8 1451L
    #define cmdPaperTexture9 1452L
    #define cmdPaperTexture10 1453L
    #define cmdOpenAllTools 1454L
    #define cmdCloseAllTools 1455L
    #define cmdToolTitles 1456L
    #define cmdTrackingMenu 1457L
    #define cmdDocumentTools 1458L
    #define cmdFrameTools 1459L
    #define cmdFigureCircle 1460L
    #define cmdAntialiasDoc 1461L
    #define cmdCreateDeformer 1462L
    #define cmdDeformerOptions 1463L
    #define cmdSphereZoneOptions 1464L
    #define cmdIllustrationWindow 1465L
    #define cmdDocStyleIllus 1466L
    #define cmdExportPainterScript 1467L
    #define cmdCreateWaveDeformer 1468L
    #define cmdDeformerDisplayMenu 1469L
    #define cmdDeformerShowAll 1470L
    #define cmdDeformerShowNone 1471L
    #define cmdDeformerShowOfActor 1472L
    #define cmdSetReflectionPict 1473L
    #define cmdSetReflectionColor 1474L
    #define cmdConformFigure 1475L
    #define cmdSetTransparencyPict 1476L
    #define cmdSelectPick 1477L
    #define cmdShowGroupPalette 1478L
    #define cmdAddSpotLite 1479L
    #define cmdAuxView 1480L
    #define cmdBottomView 1481L
    #define cmdBackView 1482L
    #define cmdCreateTargetFromState 1483L
    #define cmdCreateFullBodyMorphTarget 1484L
    #define cmdLoadMorphTarget 1485L
    #define cmdCopyPicture 1486L
    #define cmdSetPointAt 1487L
    #define cmdHierarchyWindow 1488L
    #define cmdPerspectiveTex 1489L
    #define cmdExportAsJpegFile 1490L
    #define cmdLockActor 1491L
    #define cmdLockFigure 1492L
    #define cmdActorStyleFlatLined 1493L
    #define cmdActorStyleSmoothLined 1494L
    #define cmdActorStyleCartoonNoLine 1495L
    #define cmdFigureStyleFlatLined 1496L
    #define cmdFigureStyleSmoothLined 1497L
    #define cmdFigureStyleCartoonNoLine 1498L
    #define cmdFlatLined 1499L
    #define cmdSmoothLined 1500L
    #define cmdCartoonNoLine 1501L
    #define cmdDemoNullCommand 1502L
    #define cmdExportMTS3 1503L
    #define cmdExportFlash 1504L
    #define cmdExportLightflow 1505L
    #ifdef USE_PYTHON
    /* weh - 05/03/00 - Add command for Python shell/interpreter /
    #define cmdPythonScript 1506L
    #endif /
    USE_PYTHON */
    #define cmdQuitSerialMatch 1507L
    #define cmdDo2DMotionBlur 1508L
    #define cmdShowPythonPalette 1509L
    #define cmdFourPorts 1510L
    #define cmdThreePortsBigLeft 1511L
    #define cmdThreePortsBigRight 1512L
    #define cmdThreePortsBigTop 1513L
    #define cmdThreePortsBigBottom 1514L
    #define cmdTwoPortsLeftRight 1515L
    #define cmdTwoPortsTopBottom 1516L
    #define cmdOnePort 1517L
    #define cmdCollisionDetect 1518L
    #define cmdShowCameraNames 1519L
    #define cmdSelectBone 1520L
    #define cmdResetPython 1521L
    #define cmdSetupRoomHelp 1522L
    #define cmdProPackHelp 1523L

    #define cmdSelectMagnifier 1524L
    #define cmdSelectFacePutty 1525L
    #define cmdPoser5TestDialog 1526L
    #define cmdRunClothSimulation 1527L
    #define cmdCreateForceField 1528L
    #define cmdToggleDynamicParent 1529L
    #define cmdSelectHairSelect 1530L
    #define cmdCaptureDynamicParent 1531L
    #define cmdSelectTracker 1532L
    #define cmdShowBGShaderNode 1533L
    #define cmdSelectEyedropper 1534L
    #define cmdRecalcDynamicsAll 1535L
    #define cmdRecalcDynamicsAllCloth 1536L
    #define cmdRecalcDynamicsAllHair 1537L
    #define cmdRecalcDynamicsMenu 1538L
    #define cmdResetFaceRoomStatus 1539L
    #define cmdGetFaceRoomStatus 1540L

    // Poser 6 cmds
    #define cmdTrackingMouse 1541L
    #define cmdMovieGetBitMap 1542L
    #define cmdMovieGetMotiobBlurBitMap 1543L

    //As of P9 we no longer have submenus for this... just a single on/off toggle
    // (See mantis issue #21748)
    /*
    #define cmdProductionFrameMenu 1544L
    #define cmdProductionFrameMovie 1545L
    #define cmdProductionFrameImage 1546L
    #define cmdProductionFrameOff 1547L
    */
    #define cmdProductionFrame 1544L //repurposing from above (1545-1547 should be free now)

    #define cmdToggleFocusDistanceGuide 1548L
    #define cmdPreviewDrawingMenu 1549L
    #define cmdUseOpenGL 1550L
    #define cmdUseSreeD 1551L
    #define cmdToonOneTone 1552L
    #define cmdToonTwoTone 1553L
    #define cmdToonThreeTone 1554L
    #define cmdToonFourTone 1555L
    #define cmdToonTonesMenu 1556L
    #define cmdToonSmoothToned 1557L
    #define cmdMenuKeepTexturesLoaded 1558L
    #define cmdMenuReloadTextures 1559L
    #define cmdMenuReuseShadowMaps 1560L
    #define cmdMenuClearShadowMaps 1561L
    #define cmdAreaRender 1562L
    #define cmdRenderDimensions 1563L

    // Poser 7 cmds
    #define cmdRecentFiles 1564L
    #define cmdCreatePoserCamera 1565L
    #define cmdCreateDollyCamera 1566L
    #define cmdMenuImportLipSyncAudio 1567L
    #define cmdCloneObjectOrFigure 1568L
    #define cmdTalkDesignerWindow 1569L
    #define cmdAddInfiniteLite 1570L
    #define cmdAddPointLite 1571L
    #define cmdAddImageLite 1572L
    #define cmdShowQuickStart 1573L
    #define cmdShowProjectGuide 1574L
    #define cmdQuitLicenseCount 1575L

    #define cmdImportCOLLADA 1576L
    #define cmdExportCOLLADA 1577L
    #define cmdDoBackgroundRender 1578L
    #define cmdDoCancelBackgroundRender 1579L
    #define cmdBackgroundRenderFinish 1580L
    #define cmdDoQueueRenderFrame 1581L
    #define cmdDoQueueRenderMovie 1582L

    //Poser 8 cmds

    //Room specific tools
    #define cmdRoomToolsMaterialPalette 1583L

    #define cmdRoomToolsFacePreview 1584L
    #define cmdRoomToolsFacePhotoLineup 1585L
    #define cmdRoomToolsFaceTexturePreview 1586L
    #define cmdRoomToolsFaceFaceTextureDials 1587L
    #define cmdRoomToolsFaceFaceShapingDials 1588L
    #define cmdRoomToolsHairGrowthGroups 1589L
    #define cmdRoomToolsHairGrowthControls 1590L
    #define cmdRoomToolsHairStylingControls 1591L
    #define cmdRoomToolsHairDynamicsControls 1592L
    #define cmdRoomToolsClothSimulation 1593L
    #define cmdRoomToolsClothOptions 1594L
    #define cmdRoomToolsClothGroups 1595L
    #define cmdRoomToolsClothDynamicsControls 1596L
    #define cmdReloadDependentParmKeys 1597L
    #define cmdUpdateDependentParmKeys 1598L
    #define cmdStopDependencyRecording 1599L
    #define cmdLoadMorphTargetFigure 1600L
    #define cmdRecentRender 1601L
    #define cmdFigureSetToIdentity 1602L
    #define cmdPmdDataWarning 1603L
    #define cmdParsedUnsupportedWarning 1604L
    //Leave the range between cmdUploadersBase and cmdUploadersMax reserved
    #define cmdUploadersBase 1605L
    #define cmdUploadersMax 1705L
    #if !MAC_APP_STORE
    #define cmdContentMode 1706L
    #endif /* !MAC_APP_STORE */
    #define cmdRefreshScene 1707L
    #define cmdSkinningTypePoser 1708L
    #define cmdSkinningTypeLinearWeights 1709L
    #define cmdSkinningTypeDualQuaternionWeights 1710L
    #define cmdCameraOrbitSelected 1711L
    #define cmdCameraFrameSelected 1712L
    #define cmdSelectWeightPaint 1713L
    #define cmdCreateGroupingObject 1714L
    #define cmdSetConstraint 1715L
    #if PREV_DIM_MATCH
    #define cmdPrevDimMatch_Window 1716L
    #define cmdPrevDimMatch_Render 1717L
    #endif
    #define cmdTransferJoints 1718L
    #define cmdConvertJointsToSkinWeights 1719L

    #define cmdShowShadowNone 1720L
    #define cmdShowShadowGround 1721L
    #define cmdShowShadowHw 1722L
    #define cmdShowShadowGroundPlusHw 1723L
    #define cmdSymmetryThisPart 1724L

    #define cmdObjectExportMeshToGoZ 1725L
    #define cmdFigureExportMeshToGoZ 1726L
    #define cmdObjectImportMeshFromGoZ 1727L
    #define cmdObjectCreateMeshFromGoZ 1728L

    #define cmdSkinningTypeUnimeshPoser 1729L

    #define cmdLogPalette 1730L
    #define cmdRayTracePalette 1731L
    #define cmdUpdateRayTracePalette 1732L
    #define cmdPhysicsControlsPalette 1733L
    #define cmdFittingPalette 1734L
    #define cmdSpawnConvexHullProp 1735L
    #define cmdSpawnConvexDecompositionProp 1736L

    #define cmdDoPostFilter 1737L
    #define cmdDoPostFilter2 1738L

    #define cmdCopyFigureMorphs 1739L
    #define cmdMergeAllJointsToWeightMaps 1740L
    #define cmdRecalculateAllPhysics 1741L

    #define cmdCopyObjectMorphs 1742L

    #define cmdMeasuringModeOff 1743L
    #define cmdMeasuringModeDisplay 1744L
    #define cmdMeasuringModeEdit 1745L
    #define cmdMeasuringMode_CreateLine 1746L
    #define cmdMeasuringMode_CreateAngle 1747L
    #define cmdMeasuringMode_CreateCircle 1748L
    #define cmdMeasuringMode_CreatePolyline 1749L

    #define cmdAnthropometryPalette 1750L
    #define cmdApplyMotionDataFromGroupings 1751L

    #define cmdBakeActorTransforms 1752L
    #define cmdBakeFigureTransforms 1753L
    #define cmdBakeSceneTransforms 1754L
    #define cmdBakeMenu 1755L

    #define cmdPolyReduction 1756L
    #define cmdCombineFigures 1757L

    #define cmdDeactivateLicense 1758L
    #define cmdGroupUnseenPolygons 1759L

    #define cmdReloadPythonAddons 1760L
    #define cmdPolyReductionProp 1761L

    #define cmdFigureCopyMeasurements 1762L
    #define cmdMeasuringMenu 1763L
    #define cmdTextureLined 1764L
    #define cmdActorStyleTextureLined 1765L
    #define cmdFigureStyleTextureLined 1766L
    #define cmdSpawnFullBodyMorphTarget 1767L

    // Poser 11
    #define cmdAddAreaLight 1768L
    #define cmdFigureSymmetryCustom 1769L

    #define cmdFigureRigSymmetryLeftToRight 1770L
    #define cmdFigureRigSymmetryRightToLeft 1771L
    #define cmdFigureRigSymmetryArmLeftToRight 1772L
    #define cmdFigureRigSymmetryArmRightToLeft 1773L
    #define cmdFigureRigSymmetryLegLeftToRight 1774L
    #define cmdFigureRigSymmetryLegRightToLeft 1775L
    #define cmdFigureRigSymmetryCustom 1776L

    #define cmdCustomDialPaletteNew 1777L
    #define cmdExistingCustomDialPalette0 1778L
    #define cmdExistingCustomDialPalette1 1779L
    #define cmdExistingCustomDialPalette2 1780L
    #define cmdExistingCustomDialPalette3 1781L
    #define cmdExistingCustomDialPalette4 1782L
    #define cmdExistingCustomDialPalette5 1783L
    #define cmdExistingCustomDialPalette6 1784L
    #define cmdExistingCustomDialPalette7 1785L
    #define cmdExistingCustomDialPalette8 1786L
    #define cmdExistingCustomDialPalette9 1787L
    #define cmdCustomDialPaletteMenu 1788L
    #define cmdCreateTextProp 1789L
    #define cmdConvertPropToControlHandle 1790L

    #define cmdSaveCustomPartialScene 1791L
    #define cmdSaveCustomMorphInjection 1792L

    #define cmdEditPreviousSelection 1793L
    #define cmdEditNextSelection 1794L
    #define cmdHaberlineToggle 1795L

    #define cmdInstallFromZipArchive 1796L

    #define cmdGraphSubMenu 1797L
    #define cmdGraphSubMenuStart 1798L

    //RANGE RESERVED FOR GRAPH SUB MENU ITEMS
    #define cmdGraphSubMenuEnd 1897L

    #define cmdReplace 1898L

    #define cmdRemoveAllParmGraphs 1899L
    #define cmdRemoveAllCustomDialPalettes 1900L

    #define cmdNotificationsPalette 1902L

    #define cmdManage3DPathsFigure 1904L
    #define cmdManage3DPathsObject 1905L
    #define cmdManage3DPathsWindow 1906L
    #define cmdManageCategories 1907L
    #define cmdUpdatePathPalette 1908L

    #define cmdOpenParticleSystems 1910L
    #define cmdUpdateParticleSystems 1911L

    #define lHandMenu 150
    #define rHandMenu 151

    /* Hand resources */
    ///#define MaleLeftHandTautRsrc 128
    ///#define MaleLeftHandRelaxedRsrc 129
    ///#define MaleLeftHandFistRsrc 130
    ///#define MaleLeftHandPointRsrc 131
    ///#define MaleLeftHandFlatRsrc 132

    ///#define MaleRightHandTautRsrc 133
    ///#define MaleRightHandRelaxedRsrc 134
    ///#define MaleRightHandFistRsrc 135
    ///#define MaleRightHandPointRsrc 136
    ///#define MaleRightHandFlatRsrc 137

    ///#define FemaleLeftHandTautRsrc 138
    ///#define FemaleLeftHandRelaxedRsrc 139
    ///#define FemaleLeftHandFistRsrc 140
    ///#define FemaleLeftHandPointRsrc 141
    ///#define FemaleLeftHandFlatRsrc 142

    ///#define FemaleRightHandTautRsrc 143
    ///#define FemaleRightHandRelaxedRsrc 144
    ///#define FemaleRightHandFistRsrc 145
    ///#define FemaleRightHandPointRsrc 146
    ///#define FemaleRightHandFlatRsrc 147

    /********* END OF COMMANDS ********/



  • Thanks @H.ELWOOD.GILLILAND - this is a very comprehensive list - I can complete the dictionary I have been writing, I have it added to my site-packages so I can call it whenever I have need for it.



  • Thanks to both @h-elwood-gilliland and @structure

    I made a little script to convert @h-elwood-gilliland 's list to a Python object. Now I can use PoserCommands.<command-name>:
    PoserCommands.cmdRoomToolsFaceTexturePreview
    Results in 1586.

    If someone is interested: Copy the list to file "PoserCommands.txt". Copy the script into same directory and run it.

    class _PoserCommands(object):
        __slots__ = ("cmd",)
        def __init__(self):
            self.cmd = dict()
    
        def __getattr__(self, item):
            return self.cmd.get(item, None)
    
    PoserCommands = _PoserCommands()
    
    with open("PoserCommands.txt", "r") as fh:
        cmd = PoserCommands.cmd
        for line in fh:
            line = line.strip()
            i = line.find("//")
            if i != -1:
                line = line[:i].strip()
            i = line.find("/*")
            if i != -1:
                l = line[i+2:]
                line = line[:i]
                while not "*/" in l:
                    l = fh.next()
                line += l[l.find("*/")+2:]
    
            line = line.replace(";", "").split()
            if not line:
                continue
    
            if line[0] == "#define":
                cmd[line[1]] = line[2].replace("L","")
            elif line[0] == "const":
                cmd[line[2]] = line[4]
    
    print "cmdRoomToolsFaceTexturePreview", PoserCommands.cmdRoomToolsFaceTexturePreview
    print "cmdSkinningTypeLinearWeights", PoserCommands.cmdSkinningTypeLinearWeights
    


  • @adp nice script - thanks



  • @adp I hope you don't mind, I added a comment that you submitted this to the source code and threw it into the Runtime/scripts/ folder along with the .txt file for Poser 12



  • Many thanks all of you.



  • @h-elwood-gilliland
    And when you are at it, also maybe correct the syntax example:
    0_1553801367060_Knipsel.JPG



  • @h-elwood-gilliland said in ProcessCommand input list?:

    @adp I hope you don't mind, I added a comment that you submitted this to the source code and threw it into the Runtime/scripts/ folder along with the .txt file for Poser 12

    Oh, but please change the script so that INT's will be added instead of strings:

        if line[0] == "#define":
            cmd[line[1]] = int(line[2].replace("L",""))
        elif line[0] == "const":
            cmd[line[2]] = int(line[4])
    

    Thanks.



  • @f_verbaas Brain fart from the original team as ProcessCommand calls PoserCommand (internal function)

    @adp Updated. Thanks!