cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Can a mapkey delete itself?

Chris3
21-Topaz I

Can a mapkey delete itself?

I tried recording it and nothing got recorded so I am guessing not. Has anyone played a trail file or otherwise deleted a mapkey?

Currently I am loading back in a blank mapkey over the top of the old mapkey which effectively deletes it. It still leaves it in the list of mapkeys though.

1 ACCEPTED SOLUTION

Accepted Solutions
Jose_Costa
6-Contributor
(To:Chris3)

I think it can, look at this example:

mapkey $F6 ~ Command `ProCmdUtilMacros`;\

~ Select `mapkey_main` `list_mapkeys` 1 `$F6`;\

~ Activate `mapkey_main` `DeleteButton`;\

~ Activate `mapkey_main` `CloseButton`;

It opens macro dialog, selects the desired mapkey, deletes it and close dialog box.

Just replace  $F6 with your own mapkey name in line 1 and 2.

Jose.

View solution in original post

5 REPLIES 5
kdirth
20-Turquoise
(To:Chris3)

You should be able to delete a mapkey in the dialog box.  Remember, you must then save your mapkeys to keep the change.

You can also delete lines out of your config.pro file.


There is always more to learn in Creo.
Jose_Costa
6-Contributor
(To:Chris3)

I think it can, look at this example:

mapkey $F6 ~ Command `ProCmdUtilMacros`;\

~ Select `mapkey_main` `list_mapkeys` 1 `$F6`;\

~ Activate `mapkey_main` `DeleteButton`;\

~ Activate `mapkey_main` `CloseButton`;

It opens macro dialog, selects the desired mapkey, deletes it and close dialog box.

Just replace  $F6 with your own mapkey name in line 1 and 2.

Jose.

Did you pull that from the trail file or coerce the mapkey to record it?

Asking for a friend.

Jose_Costa
6-Contributor
(To:dschenken)

Yes, I did the cheating, I copied it from the trailfile.

Chris3
21-Topaz I
(To:Jose_Costa)

Awesome. Thank you.

Announcements
Business Continuity with Creo: Learn more about it here.

Top Tags