Skip to main content

PTC Creo | my Mapkeys for free

I have created a list of frequently used mapkey shortcuts for the PTC Pro Engineer Creo. This is the macro equivalent in creo. 

I am copying them below.If you need them, copy paste the content to the "config.pro" file in your startup folder.

My favourites are highlited and greatly improves the workflow..

  • For ex, to reach MEASURE. need to go to another menu and click.  Instead, maypkey from any selected menu on the ribbon will work.. Thats wonderful to me...
  • Also, Edit Sketch (ES) is overloaded and will work for Extrusion, Revelution, Sweep etc..
  • So is aa, pp, zz..  really helps me a lot..

Hope you will start using them as well and get benefited!
Let me know in comments, your feedback and issues....




  1. Sketch View           > sv
  2. Show and Erase        > se
  3. Working Directory     > wd
  4. Hiddel Line View      > hi
  5. Close (quit) Window   > qw
  6. Measure               > mm
  7. Erase Session         > ee
  8. Insert Mode @ Sel     > is
  9. Cancel Insert Mode    > ic
  10. edit Sketch of Sel    > es
  11. Show the view named 1 > 1
  12. Show View FRONT       > vf
  13. Show View TOP         > vt
  14. Show Freature in tree > ff 
  15. Hide                  > h1
  16. Show                  > h2
  17. Toggle (on/off) Axis  > aa
  18. Toggle (on/off) Plane > pp
  19. Zoom Previous         > zz
  20. Zoom All              > za
  21. Zoom Window           > zw
  22. View - Shaded         > s1
  23. View - Wireframe      > s2
  24. View - Shaded w edges > s3
  25. Toggle Model Tree     > qq
  26. Show Model Tree       > q1
  27. Show Layer Tree       > q2

!--------------------------------


mapkey sv @MAPKEY_NAMESketch View;@MAPKEY_LABEL>Sketch view;\
mapkey(continued) ~ Activate `main_dlg_cur` `ProCmdViewSketchView.sket`;

mapkey se @MAPKEY_NAMEShow & Erase;\
mapkey(continued) ~ Activate `main_dlg_cur` `ProCmdDwgShowErase.dwg`;

mapkey wd @MAPKEY_NAMEWorking Directory;\
mapkey(continued) ~ Select `main_dlg_cur` `MenuBar1`1 `File`;\
mapkey(continued) ~ Close `main_dlg_cur` `MenuBar1`;\
mapkey(continued) ~ Activate `main_dlg_cur` `File.psh_working_dir`;

mapkey hi @MAPKEY_NAMEHidden line;@MAPKEY_LABEL>Hidden line;\
mapkey(continued) ~ Select `main_dlg_cur` `ProCmdEnvMdlDisp.mdisp`1 `Hidden line`;

mapkey qw @MAPKEY_NAMEQuit window;@MAPKEY_LABEL>Quit window;\
mapkey(continued) ~ Activate `main_dlg_cur` `EMBED_BROWSER Close`;\
mapkey(continued) ~ Timer `UI Desktop` `UI Desktop` `EmbedBrowserTimer`;

mapkey mm @MAPKEY_NAMEMeasure;@MAPKEY_LABEL>Measure;\
mapkey(continued) ~ Command `ProCmdNmdTool` 1;

mapkey aa @MAPKEY_NAMEToggle Axes;~ Command `ProCmdEnvAxisDisp` 0;
mapkey pp @MAPKEY_NAMEToggle Plane;~ Command `ProCmdEnvDtmDisp` 0;
mapkey wc @MAPKEY_NAMEWindow Close;~ Command `ProCmdWinCloseGroup`;
mapkey zz @MAPKEY_NAMEZoom Previous;~ Command `ProCmdViewPrev`;
mapkey za @MAPKEY_NAMEZoom All;~ Command `ProCmdViewRefit`;
mapkey zw @MAPKEY_NAMEZoom Window;~ Command `ProCmdViewZoomIn`;

mapkey s1 @MAPKEY_NAMEShading;@MAPKEY_LABEL>Shading;\
mapkey(continued) ~ Command `ProCmdEnvShaded` 1;
mapkey s2 @MAPKEY_NAMEWireframe;@MAPKEY_LABEL>Wireframe;\
mapkey(continued) ~ Command `ProCmdEnvWireframe` 1;
mapkey s3 @MAPKEY_NAMEWireframe View;@MAPKEY_LABELShade with Edge;\
mapkey(continued) ~ Command `ProCmdEnvShadedEdges` 1;

mapkey qq @MAPKEY_LABELToggle Model tree;~ Command `ProCmdNavigatorBtn` 0;\
mapkey(continued) mapkey sv @MAPKEY_NAMESketch View;@MAPKEY_LABEL>Sketch view;\
mapkey(continued) ~ Command `ProCmdViewSketchView`;
mapkey q1 ~ Command `ProCmdViewLyrs` 0;
mapkey q2 ~ Command `ProCmdViewLyrs` 1;

mapkey ee @MAPKEY_LABELerase session;~ Command `ProCmdModelEraseNotDisp`;

mapkey ff @MAPKEY_LABELshow feature in model tree;\
mapkey(continued) ~ Command `ProCmdMdlTreeFilter` ;~ Activate `mdl_filter` `feat_btn` 1;\
mapkey(continued) ~ Activate `mdl_filter` `supres_btn` 1;~ Activate `mdl_filter` `ok_btn`;

mapkey h1 ~ Command `ProCmdViewHide`;
mapkey h2 ~ Command `ProCmdViewShow`;

mapkey nn @MAPKEY_LABELtoggle all datum~ Activate `main_dlg_cur` mapkey w1 \
mapkey(continued) @MAPKEY_NAMEModel Tree;~ Command `ProCmdViewLyrs` 0;

mapkey wr ~ RButtonArm `main_dlg_cur` `PHTLeft.PHLayerUI.AssyTree` \
mapkey(continued) `node0:SOLID`;~ Command `ProCmdViewRestLayStat`;

mapkey oa @MAPKEY_NAMEopen assy;~ Command `ProCmdModelOpen` ;\
mapkey(continued) ~ Trail `UI Desktop` `UI Desktop` `DLG_PREVIEW_POST` `file_open`;\
mapkey(continued) ~ Open `file_open` `Type`;\
mapkey(continued) ~ Trail `UI Desktop` `UI Desktop` `PREVIEW_POPUP_TIMER` \
mapkey(continued) `file_open:Ph_list.Filelist:<NULL>`;~ Close `file_open` `Type`;\
mapkey(continued) ~ Select `file_open` `Type` 1 `db_1`;

mapkey oo @MAPKEY_NAMEOpen ;~ Command `ProCmdModelOpen` ;\
mapkey(continued) ~ Trail `UI Desktop` `UI Desktop` `DLG_PREVIEW_POST` `file_open`;

mapkey is @MAPKEY_NAMESet Insert Mode;\
mapkey(continued) ~ RButtonArm `main_dlg_cur` `PHTLeft.AssyTree` `node6`;\
mapkey(continued) ~ PopupOver `main_dlg_cur` `ActionMenu` 1 `PHTLeft.AssyTree`;\
mapkey(continued) ~ Open `main_dlg_cur` `ActionMenu`;~ Close `main_dlg_cur` `ActionMenu`;\
mapkey(continued) ~ Activate `main_dlg_cur` `ActivateInsert`;

mapkey ic @MAPKEY_NAMECancel Insert Mode;~ Command `ProCmdResumeLast`;

mapkey 1 @MAPKEY_NAMEset view "1";\
mapkey(continued) ~ Select `main_dlg_cur` `View:casc340798662`;\
mapkey(continued) ~ Close `main_dlg_cur` `View:casc340798662`;\
mapkey(continued) ~ Command `ProCmdNamedViewsGalSelect` `1`;


mapkey jp @MAPKEY_NAMEcreate JPEG;@MAPKEY_LABELcreate JPEG;\
mapkey(continued) ~ Close `main_dlg_cur` `appl_casc`;~ Command `ProCmdModelSaveAs` ;\
mapkey(continued) ~ Open `file_saveas` `type_option`;~ Close `file_saveas` `type_option`;\
mapkey(continued) ~ Select `file_saveas` `type_option` 1 `db_566`;@MANUAL_PAUSEnew name?;\
mapkey(continued) ~ Activate `file_saveas` `OK`;~ Open `shd_img_param` `o_size`;\
mapkey(continued) ~ Close `shd_img_param` `o_size`;~ Select `shd_img_param` `o_size` 1 `A4`;\
mapkey(continued) ~ Open `shd_img_param` `o_dpi`;~ Close `shd_img_param` `o_dpi`;\
mapkey(continued) ~ Select `shd_img_param` `o_dpi` 1 `dpi200`;~ Activate `shd_img_param` `OK`;

mapkey es @MAPKEY_NAMEExtr, Rev, Sweep;@MAPKEY_LABELEdit Feature Sketch;\
mapkey(continued) ~ RButtonArm `main_dlg_cur` `PHTLeft.AssyTree` `node69`;\
mapkey(continued) ~ PopupOver `main_dlg_cur` `ActionMenu` 1 `PHTLeft.AssyTree`;\
mapkey(continued) ~ Open `main_dlg_cur` `ActionMenu`;~ Close `main_dlg_cur` `ActionMenu`;\
mapkey(continued) ~ Activate `main_dlg_cur` `Redefine`;\
mapkey(continued) ~ Activate `main_dlg_cur` `chkbn.extrev_1_placement.0` 1;\
mapkey(continued) ~ Trigger `extrev_1_placement.0.0` `PH.section_select_list` `0`;\
mapkey(continued) ~ Trigger `extrev_1_placement.0.0` `PH.section_select_list` ``;\
mapkey(continued) ~ Activate `extrev_1_placement.0.0` `PH.Sketch`;\
mapkey(continued) ~ Command `ProCmdViewSketchView`;\
mapkey(continued) ~ RButtonArm `main_dlg_cur` `PHTLeft.AssyTree` `node68`;\
mapkey(continued) ~ PopupOver `main_dlg_cur` `ActionMenu` 1 `PHTLeft.AssyTree`;\
mapkey(continued) ~ Open `main_dlg_cur` `ActionMenu`;~ Close `main_dlg_cur` `ActionMenu`;\
mapkey(continued) ~ Activate `main_dlg_cur` `Redefine`;\
mapkey(continued) ~ Activate `main_dlg_cur` `chkbn.revolve_1_placement.0` 1;\
mapkey(continued) ~ Trigger `revolve_1_placement.0.0` `PH.section_select_list` `0`;\
mapkey(continued) ~ Trigger `revolve_1_placement.0.0` `PH.section_select_list` ``;\
mapkey(continued) ~ Activate `revolve_1_placement.0.0` `PH.Sketch`;\
mapkey(continued) ~ Command `ProCmdViewSketchView`;\
mapkey(continued) ~ Select `main_dlg_cur` `PHTLeft.AssyTree` 1 `node50`;\
mapkey(continued) ~ RButtonArm `main_dlg_cur` `PHTLeft.AssyTree` `node50`;\
mapkey(continued) ~ PopupOver `main_dlg_cur` `ActionMenu` 1 `PHTLeft.AssyTree`;\
mapkey(continued) ~ Open `main_dlg_cur` `ActionMenu`;~ Close `main_dlg_cur` `ActionMenu`;\
mapkey(continued) ~ Activate `main_dlg_cur` `Redefine`;\
mapkey(continued) ~ Activate `main_dlg_cur` `maindashInst0.Sketch`;\
mapkey(continued) ~ Command `ProCmdViewSketchView`;

mapkey vf @MAPKEY_LABELView Front;\
mapkey(continued) ~ Select `main_dlg_cur` \
mapkey(continued) `igToolbar_AncestorIGT_IGT_GRP_inh397369119.proe_win:casc340798662`;\
mapkey(continued) ~ Close `main_dlg_cur` \
mapkey(continued) `igToolbar_AncestorIGT_IGT_GRP_inh397369119.proe_win:casc340798662`;\
mapkey(continued) ~ Command `ProCmdNamedViewsGalSelect` `FRONT`;

mapkey vt @MAPKEY_LABELView Top;\
mapkey(continued) ~ Select `main_dlg_cur` \
mapkey(continued) `igToolbar_AncestorIGT_IGT_GRP_inh397369119.proe_win:casc340798662`;\
mapkey(continued) ~ Close `main_dlg_cur` \
mapkey(continued) `igToolbar_AncestorIGT_IGT_GRP_inh397369119.proe_win:casc340798662`;\
mapkey(continued) ~ Command `ProCmdNamedViewsGalSelect` `TOP`;





Comments

Popular posts from this blog

Color the Excel row based on a value/status

Very often, we would like to differenciate the rows that are having certain status (or specific values in a specific column) in a different color. We can filter for the status and apply the color manually, but we can also do that dynamically or automatically with a specific tweak to the Conditional Formatting feature in Excel

TreeView Structure in Excel VBA

TreeView is extreamly useful in specific cases but it can be bit tricky sometimes to implement.  Last Few days I was working on a TreeView Structure and thought I will share the knowledge I gained...  This post takes you through the basic operations to create and operate a TreeView. It will be like the Folder tree window of the windows explorer.  Moreover, you can have it dynamically updated based on the data in excel.... Here we go..