Skip to main content
10-Marble
May 28, 2025
Solved

creo parametric mapkey to hande view label

  • May 28, 2025
  • 1 reply
  • 736 views

Hi,

I'd like to create a mapkey macro to modify existing view label.

When I create for example a detailed view, the label looks like this:

NG_12013596_0-1748416364503.png

NG_12013596_1-1748416378567.png

.. and I'd like modify to this (line wrap, plus remove parenthes)

NG_12013596_2-1748416425348.png

NG_12013596_3-1748416436455.png

Without mapkey macro I can do it manually.

I recorded a mapkey for this, but it doesn't do anything.

mapkey vn1 @MAPKEY_LABELView Note Correct 1x;\
mapkey(continued) ~ Move `main_dlg_cur` `NoteEdit` 2 35 35;\
mapkey(continued) ~ Move `main_dlg_cur` `NoteEdit` 2 21 21;\
mapkey(continued) ~ Key `main_dlg_cur` `proe_win` 9 452 250 196608 1024 1519 918 1920 1200 \
mapkey(continued) 29733267 `Del`;\
mapkey(continued) ~ Key `main_dlg_cur` `proe_win` 9 452 250 262144 1024 1519 918 1920 1200 \
mapkey(continued) 29733267 `Left Arrow`;\
mapkey(continued) ~ Key `main_dlg_cur` `proe_win` 9 452 250 262144 1024 1519 918 1920 1200 \
mapkey(continued) 29733267 `Left Arrow`;\
mapkey(continued) ~ Key `main_dlg_cur` `proe_win` 9 452 250 262144 1024 1519 918 1920 1200 \
mapkey(continued) 29733267 `Left Arrow`;\
mapkey(continued) ~ Key `main_dlg_cur` `proe_win` 9 452 250 262144 1024 1519 918 1920 1200 \
mapkey(continued) 29733267 `Left Arrow`;\
mapkey(continued) ~ Key `main_dlg_cur` `proe_win` 9 452 250 262144 1024 1519 918 1920 1200 \
mapkey(continued) 29733267 `Left Arrow`;\
mapkey(continued) ~ Key `main_dlg_cur` `proe_win` 9 452 250 262144 1024 1519 918 1920 1200 \
mapkey(continued) 29733267 `Left Arrow`;\
mapkey(continued) ~ Key `main_dlg_cur` `proe_win` 9 452 250 262144 1024 1519 918 1920 1200 \
mapkey(continued) 29733267 `Left Arrow`;\
mapkey(continued) ~ Key `main_dlg_cur` `proe_win` 9 452 250 262144 1024 1519 918 1920 1200 \
mapkey(continued) 29733267 `Left Arrow`;\
mapkey(continued) ~ Key `main_dlg_cur` `proe_win` 9 452 250 262144 1024 1519 918 1920 1200 \
mapkey(continued) 29733267 `Left Arrow`;\
mapkey(continued) ~ Key `main_dlg_cur` `proe_win` 9 452 250 262144 1024 1519 918 1920 1200 \
mapkey(continued) 29733267 `Left Arrow`;\
mapkey(continued) ~ Key `main_dlg_cur` `proe_win` 9 452 250 524296 1024 1519 918 1920 1200 \
mapkey(continued) 29733267 `Bkspce`;\
mapkey(continued) ~ Key `main_dlg_cur` `proe_win` 9 452 250 851978 1024 1519 918 1920 1200 \
mapkey(continued) 29733267 `Enter`;

Thank you for any help.

 

 

 

Best answer by MartinHanak

Hi,

in Creo 10.0 my mapkey zz works well ... use uploaded file.

Additional info ... https://www.ptc.com/en/support/article/CS378673

1 reply

24-Ruby III
May 28, 2025

Hi,

in Creo 10.0 my mapkey zz works well ... use uploaded file.

Additional info ... https://www.ptc.com/en/support/article/CS378673

10-Marble
May 28, 2025

wow, this works great, thank you!