Skip to main content
1-Visitor
May 24, 2015
Solved

mapkey

  • May 24, 2015
  • 4 replies
  • 3069 views

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

Best answer by dschenken

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.

4 replies

dschenken1-VisitorAnswer
1-Visitor
May 24, 2015

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.

24-Ruby III
May 25, 2015

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

1-Visitor
May 25, 2015

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.

21-Topaz I
May 26, 2015

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;

1-Visitor
November 15, 2017

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

1-Visitor
November 15, 2017

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