Skip to main content
7-Bedrock
January 28, 2025
Solved

Visual cosmetic threads error when restarting the mapkey

  • January 28, 2025
  • 2 replies
  • 995 views

I have followed the tutorial on this reference topic: https://community.ptc.com/t5/3D-Part-Assembly-Design/New-to-Creo-and-visual-cosmetic-threads/m-p/986492#M137459  and it worked fine. However when I close Creo and restart the mapkey it is not working anymore.

 

What did I do wrong?

Best answer by RV_12736051

I tried this but that doesn't work either.

It still works when created but after restart nothing happens. It select  but it doesn't change the color

2 replies

24-Ruby III
January 28, 2025

Hi,

my suggestion ... create two mapkeys:

  1. mapkey which selects threads
  2. mapkey which assigns color to selected threads

This mapkey splitting enables you to find out what part of your original mapkey does not work.

RV_127360517-BedrockAuthorAnswer
7-Bedrock
January 28, 2025

I tried this but that doesn't work either.

It still works when created but after restart nothing happens. It select  but it doesn't change the color

24-Ruby III
January 28, 2025

Hi,

so mapkey 1 (select) works well and mapkey 2 (assign color) does not work work...

I guess Creo did not recorded mapkey 2 properly. Maybe you can compare code written into trail file with code recorded in mapkey. Code written into trail file can contain something extra.

kdirth
21-Topaz I
21-Topaz I
January 28, 2025

What version of Creo are you using?

 

Creo 11 introduced a separate mapkey file (mapkey.pro).  Prior to that, mapkeys were added to the config.pro file in your start directory.  If your mapkey is only in the Color_thread,pro file that you shared, you will need to load that file every time you start Creo.

There is always more to learn.
7-Bedrock
January 28, 2025

Ah now I understand.
We are indeed working with Creo 11. so I have to save the mapkey.pro in the same folder as where the config.pro is located

 

24-Ruby III
January 28, 2025