Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Visual cosmetic threads error when restarting the mapkey

RV_12736051
7-Bedrock

Visual cosmetic threads error when restarting the mapkey

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?

ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

6 REPLIES 6

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.


Martin Hanák

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

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.


Martin Hanák

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 in Creo.

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

 

Announcements
NEW Creo+ Topics: Real-time Collaboration

Top Tags