The configuration file mapkeys.cfg is a plain text file which holds a collection of mapkeys.
There are two types of mapkeys which can be added to this file:
- Regular Creo mapkeys — recorded in Creo and copied from the config.pro file into this file.
- Flexible SMARTUpdate mapkeys — are able to run on multiple items disregarding the item name
Regular Creo Mapkeys
You can copy any Creo mapkey from the config pro to this file to isolate the mapkeys used by SMARTUpdate for clarity purposes. you can then use these mapkeys for following functions:
- Postfunctions
- Check Button mapkeys
- Run mapkey checks
Flexible SMARTUpdate Mapkeys
This type of mapkeys are originally regular Creo mapkeys recorded in Creo as well, but they execute a specific operation on
a Creo model item e.g. Layers. So you can use this mapkey on different items without needing to record another mapkey with
the same content but a different item name.
To do that the item name for the recorded mapkey must be replaced with a placeholder e.g. “layer_name”. You can then let SMARTUpdate replace the placeholder with the correct item name in a Run Mapkey Check.
Example
In this example this is the original Creo Mapkey:
After changing the item name you have the flexible mapkey:
 Note
Please note that the syntax of the mapkeys is subject to change for new Creo versions and therefore the mapkeys copied to
this file might have to be recorded again if not working anymore.
|