Skip to main content
May 24, 2015 7:22 PM UTC
Solved

mapkey

hello

i make a mapkey for show datum by press key d

i want to make a mapkey for hide datum by press two time d but not working

please give me some ideas for how i do this ?

tks for according  your timeb

dschenkenAnswer
May 24, 2015 7:40 PM UTC

You cannot. As soon as there is enough to be sure what the mapkey is the software runs it.

You could use sd and hd or ds and dh, but if you use d by itself no other mapkeys starting with d can be used.

7 replies

dschenkenAnswer
May 24, 2015 7:40 PM UTC

You cannot. As soon as there is enough to be sure what the mapkey is the software runs it.

You could use sd and hd or ds and dh, but if you use d by itself no other mapkeys starting with d can be used.

May 25, 2015 5:17 AM UTC

Redro,

as you know mapkey sequence is not finished by ENTER key. It is executed immediatelly when entered. This means sequence dd executed mapkey d twice. You have to use dh sequence for hiding and du sequence for unhiding (for example).

Martin Hanak

May 25, 2015 9:15 AM UTC

instead of making mapkeys by single characters...you'll have very less option names to create mapkeys. Instaed of it use atleast 3-4 characheters e.g.hideD, showD, Hex, fin, etc.

May 26, 2015 11:28 AM UTC

See below for the solution. Press d once to turn on, and again (once) to turn off.

mapkey d @MAPKEY_LABELTurn Datums On / Off;~ Command `ProCmdEnvAxisDisp`  0;\

mapkey(continued) ~ Command `ProCmdEnvPntsDisp`  0;~ Command `ProCmdEnvCsysDisp`  0;\

mapkey(continued) ~ Command `ProCmdEnvDtmDisp`  0;

Nov 15, 2017 10:43 AM UTC

What is the use of 'node3' or 'node6' for mapkey in the specification tree???

Nov 15, 2017 11:47 AM UTC

Matheswaran,

please use this button to create a new topic when asking a question that is different than the original topic:

 

Start_a_topic.png