Skip to main content
Aug 10, 2023 10:30 PM UTC
Solved

Listing Mapkeys

Hello,
I'm wondering if it's possible to extract all mapkeys from a config.pro file and transform it to csv or xls file.
In order to sort all of them (mapkeys keys and descriptions).
I would like to clean all my config.pro files and test.
Thanks !

Aug 18, 2023 8:06 PM UTC

Sounds like the "Mapkey Manager.xlsm" from this post might be similar to what you're looking for - https://community.ptc.com/t5/System-Administration/Managing-Many-Mapkeys/td-p/449765.

 

Always be wary of VBA files from the internet though. You can preview the code before enabling the VBA macros using ALT-F11.

7 replies

Aug 11, 2023 2:37 AM UTC

It is certainly possible to do this with some programming. Why not just use one of the better text editors such as Notepad++ and manipulate the text format directly. There are some customizations for Creo available for Notepad++ which may be helpful to you.

 

https://notepad-plus-plus.org/ 

Aug 11, 2023 1:27 PM UTC

The configuration files are just plain text files. Any text editor can open the files and you can manipulate the information from there.

Aug 11, 2023 3:00 PM UTC

Hi,

what about this ... please replay video

Sep 3, 2023 2:18 PM UTC

Thank you, nice and simple solution !

Aug 18, 2023 8:06 PM UTC

Sounds like the "Mapkey Manager.xlsm" from this post might be similar to what you're looking for - https://community.ptc.com/t5/System-Administration/Managing-Many-Mapkeys/td-p/449765.

 

Always be wary of VBA files from the internet though. You can preview the code before enabling the VBA macros using ALT-F11.

Sep 3, 2023 2:17 PM UTC

Thanks, 
I can't find how to enable Macro, right now.
But I will look more in detail.

Sep 4, 2023 6:39 AM UTC