Treddie,
(Thanks for the star if that was you're doing)
In answer to your question. The mapkeys are typically held in your config.pro options file in the following manner as a config option.
You can load presaved or existing options or mapkeys by simply accessing the Tools Options config (
I use "0o" as the mapkey for this) then use the File Open, Browse button on the pull down showing currently loaded config.pro from the Install\text folder or your \Working_Dir or InSession.pro if neither is loaded.
Note the "Save Mapkeys" [Changed] & [All] buttons in the config dialog shown later in post, they can be used to save your old mapkeys back to your config.pro file that you use.
After loading in and applying you can then return to your previous config file by using the same method. The config dialog keeps recently used configs in the pulldown list so you can reload your config file that you save your options to.
>> I've included some additional tips below which are probably above and beyond the scope of your post but will help new viewers/users
Code (|:Space , MK:MapKey, ..:format spacing)
mapkey|Launch Code|Actual Mapkey
Left Column ....| Middle Column ..|
Mapkey ........|
A-#? (
MK String)|
~ Command `ProCmdViewSpinCntr` 1; (MK Code)
mapkey |
ds @MAPKEY_NAME'Displays Spin Center';@MAPKEY_LABEL"DISP Spin Ctr";mapkey(continued)|~ Command `ProCmdViewSpinCntr` 1;"[/b]
mapkey
rx @MAPKEY_LABELRibbon TOGGLE;mapkey(continued) ~ Activate `main_dlg_cur` `adb_main_menu.adb_minimizeRibbon`0;0;
web_browser_homepage|
Since Creo still has an issue with line length in the config files which is max 96-100 chars, my longest line is 97 chars. Longer mapkeys get ";\" tacked on the end of each line and are continued on the next line with "mapkey (continued)" and end with a single semi-colon as seen in above examples.
As Seen in the above picture which I've posted before...
@MAPKEY_LABEL}Stores option text for Name field of mapkey dialog.
@MAPKEY_NAME}Stores the description shown for mapkey in the mapkey dialog.
There are length limits for each of the fields
I usually add a space or other symbol ]}> between the _(LABEL/NAME) and the Name or Description I enter to make the separation clearer and allow easy searching when manually text editing mapkeys.
If anyone would like this added as a FAQ in this Forum please let me know via Tweet.Err or maybe a forum reply. This is only a subset of my tips for configs and mapkeys. I plan to tweet more in future and eventually offer custom training via a Blog/Vlog etc.
If you know VSS Variable Section Sweeps one of the relation parameters range [0-1] is my "t w 1 t t 3 r" name. :~)
"It's not the size of the Forum that matters, It's the Quality of the Posts"
Michael Cole
Boston, MA
CSWP, CSWI, CSWTS
Follow me on
!w¡#$%
@ TrajPar - @ mcSldWrx2008
=
ProE =
SolidWorks