command tips inside lisp

command tips inside lisp

Muhammed.OPERA
Advisor Advisor
820 Views
2 Replies
Message 1 of 3

command tips inside lisp

Muhammed.OPERA
Advisor
Advisor

Hi everyone 🙂

Inside any LISP i write, i use commands (for example :OFFSET).

This command will use the distance i asked the user to enter with getvar func. and a text i wrote to appear in the command line.

i't working yup, but the offset command tips like (Specify ossfet distance) also appears above the command line as a history.

Can i disable the command tips inside my LISP?

Thanks 🙂


Muhammed Mamdouh (OPERA)
Structural Engineer, Instructor
Facebook |LinkedIn

EESignature

0 Likes
Accepted solutions (1)
821 Views
2 Replies
Replies (2)
Message 2 of 3

Kent1Cooper
Consultant
Consultant
Accepted solution

@Muhammed.OPERA wrote:

... the offset command tips like (Specify ossfet distance) also appears above the command line as a history.

Can i disable the command tips inside my LISP?

....


Yes -- it's called command-echo suppression.  Search for instances of the CMDECHO System Variable -- there are countless routines in this Forum that include ways to save the current value, turn it off during the routine, and reset it afterwards.  In simplest terms:

 

(setq cmde (getvar 'cmdecho))

(setvar 'cmdecho 0)

.... the workings of the routine ....

(setvar 'cmdecho cmde)

 

In certain limited circumstances, that's not quite enough to suppress everything -- also look into the NOMUTT System Variable.

Kent Cooper, AIA
Message 3 of 3

Muhammed.OPERA
Advisor
Advisor

Thanks a lot  for that @Kent1Cooper Smiley Happy


Muhammed Mamdouh (OPERA)
Structural Engineer, Instructor
Facebook |LinkedIn

EESignature

0 Likes