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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

toggle mapkeys...

ptc-356958
1-Newbie

toggle mapkeys...

I am looking for a way to taggle on and off the display of datum curves and cosmetic sketches similar to the way that datum planes, axis, etc. work in Pro? I've seen mapkeys for turning layers on and off but it would be nice to just toggle the display similar to the way datum features are handled. Also does anyone know how a toogling mapkey graphic would be handled, in other words, so it looks on or off?


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
1 REPLY 1

The trick to toggling mapkeys is to record two, one that turns the item
on and one that turns it off. Then, open your config file in a text
editor and compare them. There will be a single character difference,
the 'on' mapkey will have a 1 and the 'off' mapkey will have a 0.

Delete that character and it turns into a toggle. I've used that
successfully to create a bunch of mapkeys to toggle display items buried
several layers deep in menus and dialog boxes like 'display curves when
shaded' or 'display trace sketches'.

Doug Schaefer
--
Doug Schaefer | Experienced Mechanical Design Engineer
LinkedIn
Top Tags